Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ScreenShot ¶
func ScreenshotPhantomJS ¶
Types ¶
type Chrome ¶
type Chrome struct {
Resolution string
ChromeTimeout int
ChromeTimeBudget int
Path string
UserAgent string
Argvs []string
ScreenshotPath string
}
Chrome contains information about a Google Chrome instance, with methods to run on it.
func (*Chrome) ScreenshotURL ¶
ScreenshotURL takes a screenshot of a URL
func (*Chrome) SetScreenshotPath ¶
SetScreenshotPath sets the path for screenshots
Click to show internal directories.
Click to hide internal directories.