From 4f13da10e7f0447bf6608ef95b4755fddf2ee99d Mon Sep 17 00:00:00 2001 From: Kenneth Shaw Date: Wed, 22 Nov 2017 16:02:51 +0700 Subject: [PATCH] Fixing issue from last protocol definition update --- nav.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nav.go b/nav.go index 45df33c..fcb131f 100644 --- a/nav.go +++ b/nav.go @@ -11,7 +11,7 @@ import ( // Navigate navigates the current frame. func Navigate(urlstr string) Action { return ActionFunc(func(ctxt context.Context, h cdp.Handler) error { - frameID, err := page.Navigate(urlstr).Do(ctxt, h) + frameID, _, _, err := page.Navigate(urlstr).Do(ctxt, h) if err != nil { return err }