Corion / WWW-Mechanize-Chrome

automate the Chrome browser

Home Page:https://metacpan.org/release/WWW-Mechanize-Chrome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"'Page.navigate' wasn't found" when calling `get` on a page that's already loaded

jpollack opened this issue · comments

Using W::M::C 0.67 to connect to an existing chrome instance, I've noticed I get the error message:

'Page.navigate' wasn't found

-32601 at /usr/local/share/perl/5.28.1/Chrome/DevToolsProtocol/Target.pm line 502

When I attempt to call get to navigate to a page that's already loaded. But only sometimes. I haven't yet found a short and reliable sequence of steps to reproduce it, the only pattern I notice is that it happens if I call ->get for a page that's already loaded. If I open a new tab, or call ->get for a different URL, I don't see the error.

Any thoughts?