Fixing issue from last protocol definition update
This commit is contained in:
parent
88d4832728
commit
4f13da10e7
2
nav.go
2
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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user