Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(enabled bool) func(*Screenshotter)
Debug enables debug output on the Screenshooter.
func Timeout ¶
func Timeout(duration time.Duration) func(*Screenshotter)
Timeout configures a timeout for taking screenshots.
Types ¶
type Screenshotter ¶
type Screenshotter struct {
// contains filtered or unexported fields
}
Screenshotter takes screenshots of given webpages.
func New ¶
func New(config ...func(*Screenshotter)) *Screenshotter
New initializes and returns a Screenshooter.
Click to show internal directories.
Click to hide internal directories.