Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Chrome ¶
type Chrome struct { ResolutionX int ResolutionY int UserAgent string Timeout int64 Delay int FullPage bool ChromePath string Proxy string }
Chrome contains information about a Google Chrome instance, with methods to run on it.
func (*Chrome) Screenshot ¶
Screenshot takes a screenshot of a URL and saves it to destination Ref:
https://github.com/chromedp/examples/blob/255873ca0d76b00e0af8a951a689df3eb4f224c3/screenshot/main.go
Click to show internal directories.
Click to hide internal directories.