http://www.perlmonks.org?node_id=11137644


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

Bod,
I am using Strawberry Perl (v5.32.1). Try cpanm -v --force WWW::Mechanize::Chrome to install WMC for strawberry Perl. The issue is discussed here: 11126245
  • Comment on Re^2: Chrome freezes on windows when opened with WWW::Mechanize::Chrome
  • Download Code

Replies are listed 'Best First'.
Re^3: Chrome freezes on windows when opened with WWW::Mechanize::Chrome
by Bod (Vicar) on Oct 18, 2021 at 20:49 UTC
    I am using Strawberry Perl (v5.32.1)

    So we are using the same version...

    Try cpanm -v --force WWW::Mechanize::Chrome to install WMC for strawberry Perl

    That's pretty much what I tried when cpanm WWW::Mechanize::Chrome failed.
    I've just tried again on a different machine and it hangs in the same place...

    t/50-gh63-encode-response-content.t ........... 2/4

    Here are the preceding lines if it helps with diagnosis.

      That shouldn't happen - can you please run the hanging test in isolation and with verbose output? The following steps should make the test output lots (and lots) of information:

      cpanm --look WWW::Mechanize::Chrome perl Makefile.PL set TEST_LOG_LEVEL=trace perl -Ilib t/50-gh63-encode-response-content.t
        can you please run the hanging test in isolation and with verbose output

        Certainly - I've run this on two separate machines and I get the same result...
        It hangs at the end of the output and doesn't return to a command promt.

        UPDATE: Something in the output is screwing up the rendering. It was OK in preview mode but doesn't display properly...
        So - Find It Here

        Hope this is helpful.