Minor documentation change to CaptureScreenshot
This commit is contained in:
parent
6d2e39b47b
commit
dde782082b
4
nav.go
4
nav.go
|
@ -82,7 +82,9 @@ func Reload() Action {
|
||||||
return page.Reload()
|
return page.Reload()
|
||||||
}
|
}
|
||||||
|
|
||||||
// CaptureScreenshot captures takes a full page screenshot.
|
// CaptureScreenshot captures takes a screenshot of the current viewport.
|
||||||
|
//
|
||||||
|
// Note: this an alias for page.CaptureScreenshot.
|
||||||
func CaptureScreenshot(res *[]byte) Action {
|
func CaptureScreenshot(res *[]byte) Action {
|
||||||
if res == nil {
|
if res == nil {
|
||||||
panic("res cannot be nil")
|
panic("res cannot be nil")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user