Minor documentation change to CaptureScreenshot

This commit is contained in:
Kenneth Shaw 2017-12-19 12:14:35 +07:00
parent 6d2e39b47b
commit dde782082b

4
nav.go
View File

@ -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")