From dde782082b60f9c7746e2dbb4bc7cceddc26c44c Mon Sep 17 00:00:00 2001 From: Kenneth Shaw Date: Tue, 19 Dec 2017 12:14:35 +0700 Subject: [PATCH] Minor documentation change to CaptureScreenshot --- nav.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nav.go b/nav.go index fcb131f..9f8c207 100644 --- a/nav.go +++ b/nav.go @@ -82,7 +82,9 @@ func Reload() Action { 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 { if res == nil { panic("res cannot be nil")