Corion / WWW-Mechanize-Chrome

automate the Chrome browser
https://metacpan.org/release/WWW-Mechanize-Chrome
Artistic License 2.0
30 stars 12 forks source link

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

Open jpollack opened 3 years ago

jpollack commented 3 years ago

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?