Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Chrome freezes on windows when opened with WWW::Mechanize::Chrome

by bakiperl (Beadle)
on Oct 31, 2021 at 00:43 UTC ( [id://11138264]=note: print w/replies, xml ) Need Help??


in reply to Re: Chrome freezes on windows when opened with WWW::Mechanize::Chrome
in thread Chrome freezes on windows when opened with WWW::Mechanize::Chrome

Corion,
Just in case this can help tracking the issue that is causing chrome/chromium version 94. and 95. to freeze, I added the launch_arg option and the result is shown below:
my $mech = WWW::Mechanize::Chrome->new( headless => 0, launch_arg => [ " --enable-logging", "--v=1" ] );
chrome_bebug.log file
[10576:11820:1029/142219.260:ERROR:chrome_browser_main_extra_parts_met +rics.cc(230)] crbug.com/1216328: Checking Bluetooth availability star +ted. Please report if there is no report that this ends. [10576:11820:1029/142219.260:ERROR:chrome_browser_main_extra_parts_met +rics.cc(233)] crbug.com/1216328: Checking Bluetooth availability ende +d.

Replies are listed 'Best First'.
Re^3: Chrome freezes on windows when opened with WWW::Mechanize::Chrome
by Corion (Patriarch) on Oct 31, 2021 at 09:24 UTC

    This must be some weird difference between our setups, since I do not get any kind of Chrome freeze with that on either Linux or Windows.

    Maybe if you launch Chrome with a completely fresh profile (without any plugins), something different shows up?

    use File::Temp 'tempdir'; my $mech = WWW::Mechanize::Chrome->new( headless => 0, data_directory => tempdir(CLEANUP => 1 ), launch_arg => [ " --enable-logging", "--v=1" ] );

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11138264]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-09-19 18:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (25 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.