in reply to Chrome freezes on windows when opened with WWW::Mechanize::Chrome
some time ago I was suggested to have a different browser especially installed for mechanize things, so you dont run in the problem you encountered. Chromium is a valuable choice and keep it away from your PATH
In the program then..
my $url = 'perlmonks.org'; my $chromium_path = "C:/_CHROMIUM/Chrome-bin/chrome.exe"; my $chromium_arg = "--remote-debugging-port=9222"; # dont reme +mber if needed, but useful to know :) #################################### my $mech = WWW::Mechanize::Chrome->new( mute_audio => 1, autoclose => 0, incognito => 0, launch_exe => $chromium_path, ); $mech->get( $url );
L*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Chrome freezes on windows when opened with WWW::Mechanize::Chrome
by stevieb (Canon) on Oct 15, 2021 at 13:51 UTC | |
by bakiperl (Beadle) on Oct 16, 2021 at 02:08 UTC |