in reply to WWW::Mechanize::Chrome : gets stuck sometimes
Ah hah - it seems that loading the same URL twice (as the zoom.earth URLs are, except for the anchor), makes Chrome issue a Page.navigatedWithinDocument event instead of one of the other events. I'll have to find out how to handle those in a sane fashion, as all the network traffic then will be come from Javascript afterwards ...
Update A quick workaround is to navigate to a different page before fetching the next page:
... $mech->get('about:blank'); $mech->get($aurl); ...
I've managed to reproduce the situation outside this setup - any two URLs that are identical except for the fragment will trigger this problem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: WWW::Mechanize::Chrome : gets stuck sometimes
by bliako (Abbot) on Aug 01, 2018 at 20:39 UTC | |
by Corion (Patriarch) on Aug 02, 2018 at 06:59 UTC | |
by bliako (Abbot) on Aug 02, 2018 at 12:12 UTC |