1nelly1 has asked for the wisdom of the Perl Monks concerning the following question:

Hello,
can I dare to force installation?

I am using: Chrome Version 89.0.4389.90 (32-Bit), Windows 10 and Strawberry Perl 5.32

Thank you and best regards
1nelly1
cpanm (App::cpanminus) 1.7044 on perl 5.032001 built for MSWin32-x86-m +ulti-thread-64int Work directory is C:\Users\ADMINU~1/.cpanm/work/1616578452.7424 You have make C:\Strawberry\c\bin\gmake.exe You have LWP 6.52 Falling back to Archive::Tar 2.38 Searching WWW::Mechanize::Chrome () on cpanmetadb ... --> Working on WWW::Mechanize::Chrome Fetching http://www.cpan.org/authors/id/C/CO/CORION/WWW-Mechanize-Chro +me-0.65.tar.gz -> OK Unpacking WWW-Mechanize-Chrome-0.65.tar.gz Entering WWW-Mechanize-Chrome-0.65 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.58) Configuring WWW-Mechanize-Chrome-0.65 Running Makefile.PL (Re)Creating lib/WWW/Mechanize/Chrome/Examples.pm Checking if your kit is complete... Looks good Generating a gmake-style Makefile Writing Makefile for WWW::Mechanize::Chrome Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have IO::Socket::INET 0 ... Yes (1.45) Checking if you have Time::HiRes 0 ... Yes (1.9764) Checking if you have MIME::Base64 0 ... Yes (3.16) Checking if you have File::Spec 0 ... Yes (3.78) Checking if you have Algorithm::Loops 0 ... Yes (1.032) Checking if you have Net::Async::WebSocket::Client 0.12 ... Yes (0.13) Checking if you have Test::Deep 0 ... Yes (1.130) Checking if you have URI::ws 0 ... Yes (0.03) Checking if you have HTML::Selector::XPath 0 ... Yes (0.25) Checking if you have Carp 0 ... Yes (1.50) Checking if you have JSON 0 ... Yes (4.03) Checking if you have Test::More 0 ... Yes (1.302183) Checking if you have POSIX 0 ... Yes (1.94) Checking if you have URI 0 ... Yes (5.06) Checking if you have Imager 0 ... Yes (1.012) Checking if you have Win32::File::VersionInfo 0 ... Yes (0.07) Checking if you have IPC::Open3 0 ... Yes (1.21) Checking if you have Future::HTTP 0.06 ... Yes (0.14) Checking if you have Object::Import 0 ... Yes (1.005) Checking if you have Test::HTTP::LocalServer 0.71 ... Yes (0.71) Checking if you have PerlX::Maybe 0 ... Yes (1.201) Checking if you have URI::file 0 ... Yes (5.06) Checking if you have File::Basename 0 ... Yes (2.85) Checking if you have Test::Memory::Cycle 0 ... Yes (1.06) Checking if you have Log::Log4perl 0 ... Yes (1.54) Checking if you have IO::Async 0 ... Yes (0.78) Checking if you have WWW::Mechanize::Link 0 ... Yes (2.03) Checking if you have Image::Info 0 ... Yes (1.42) Checking if you have HTTP::Response 0 ... Yes (6.27) Checking if you have Moo 2 ... Yes (2.004004) Checking if you have HTTP::Headers 0 ... Yes (6.27) Checking if you have Imager::File::PNG 0 ... Yes (0.95) Checking if you have Try::Tiny 0 ... Yes (0.30) Checking if you have HTTP::Cookies 0 ... Yes (6.10) Checking if you have Storable 0 ... Yes (3.21) Checking if you have Future 0.35 ... Yes (0.47) Checking if you have Data::Dump 0 ... Yes (1.23) Checking if you have Scalar::Util 0 ... Yes (1.55) Checking if you have ExtUtils::MakeMaker 5.52_01 ... Yes (7.58) Checking if you have Test::Without::Module 0 ... Yes (0.20) Checking if you have Filter::signatures 0.16 ... Yes (0.17) Checking if you have Data::Dumper 0 ... Yes (2.174_01) Checking if you have Exporter 5 ... Yes (5.74) Building and testing WWW-Mechanize-Chrome-0.65 cp lib/HTTP/Cookies/ChromeDevTools.pm blib\lib\HTTP\Cookies\ChromeDevT +ools.pm cp lib/Chrome/DevToolsProtocol/Transport/Pipe.pm blib\lib\Chrome\DevTo +olsProtocol\Transport\Pipe.pm cp lib/Chrome/DevToolsProtocol/Transport/Pipe/Mojo.pm blib\lib\Chrome\ +DevToolsProtocol\Transport\Pipe\Mojo.pm cp lib/WWW/Mechanize/Chrome.pm blib\lib\WWW\Mechanize\Chrome.pm cp lib/Chrome/DevToolsProtocol/Transport.pm blib\lib\Chrome\DevToolsPr +otocol\Transport.pm cp lib/Chrome/DevToolsProtocol.pm blib\lib\Chrome\DevToolsProtocol.pm cp lib/Chrome/DevToolsProtocol/Transport/Pipe/NetAsync.pm blib\lib\Chr +ome\DevToolsProtocol\Transport\Pipe\NetAsync.pm cp lib/Chrome/DevToolsProtocol/Transport/Pipe/AnyEvent.pm blib\lib\Chr +ome\DevToolsProtocol\Transport\Pipe\AnyEvent.pm cp lib/Chrome/DevToolsProtocol/Transport/Mojo.pm blib\lib\Chrome\DevTo +olsProtocol\Transport\Mojo.pm cp lib/Chrome/DevToolsProtocol/Target.pm blib\lib\Chrome\DevToolsProto +col\Target.pm cp lib/Chrome/DevToolsProtocol/Transport/AnyEvent.pm blib\lib\Chrome\D +evToolsProtocol\Transport\AnyEvent.pm cp lib/Chrome/DevToolsProtocol/Transport/NetAsync.pm blib\lib\Chrome\D +evToolsProtocol\Transport\NetAsync.pm cp lib/Chrome/DevToolsProtocol/Transport/Win32PipeOpener.pm blib\lib\C +hrome\DevToolsProtocol\Transport\Win32PipeOpener.pm cp lib/WWW/Mechanize/Chrome/DSL.pm blib\lib\WWW\Mechanize\Chrome\DSL.p +m cp lib/WWW/Mechanize/Chrome/Internals.pod blib\lib\WWW\Mechanize\Chrom +e\Internals.pod cp lib/WWW/Mechanize/Chrome/Install.pod blib\lib\WWW\Mechanize\Chrome\ +Install.pod cp lib/WWW/Mechanize/Chrome/URLBlacklist.pm blib\lib\WWW\Mechanize\Chr +ome\URLBlacklist.pm cp lib/WWW/Mechanize/Chrome/Examples.pm blib\lib\WWW\Mechanize\Chrome\ +Examples.pm cp lib/WWW/Mechanize/Chrome/Node.pm blib\lib\WWW\Mechanize\Chrome\Node +.pm cp lib/WWW/Mechanize/Chrome/Troubleshooting.pm blib\lib\WWW\Mechanize\ +Chrome\Troubleshooting.pm cp lib/WWW/Mechanize/Chrome/Contributing.pod blib\lib\WWW\Mechanize\Ch +rome\Contributing.pod cp lib/WWW/Mechanize/Chrome/Cookbook.pm blib\lib\WWW\Mechanize\Chrome\ +Cookbook.pm "C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::H +arness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\l +ib', 'blib\arch')" t/00-load.t t/01-chrome-devtools-protocol-target-c +ycle.t t/01-chrome-devtools-protocol-target.t t/01-chrome-devtools-pr +otocol.t t/01-select-backend-implementation.t t/02-chrome-devtools-ta +b.t t/03-listener-leak-test.t t/47-mech-simplest.t t/49-launch.t t/49 +-mech-get-file.t t/49-mech-nav.t t/49-pipe.t t/49-port.t t/50-follow- +link.t t/50-form-with-fields-gh48.t t/50-form-with-fields.t t/50-form +2.t t/50-mech-autoclose.t t/50-mech-content.t t/50-mech-ct.t t/50-mec +h-encoding.t t/50-mech-eval.t t/50-mech-forms.t t/50-mech-get-nonexis +tent.t t/50-mech-get.t t/50-mech-new-dsl.t t/50-mech-new-tab.t t/50-m +ech-new.t t/50-mech-redirect.t t/50-mech-start-url.t t/50-mech-status +.t t/50-mech-text.t t/50-popup.t t/50-tick.t t/51-click-intrapage.t t +/51-mech-form-with-fields.t t/51-mech-links.t t/51-mech-set-content.t + t/51-mech-submit.t t/53-mech-capture-js-error.t t/56-render-content. +t t/58-alert.t t/60-list-tabs.t t/60-mech-cookies.t t/60-mech-custom- +headers.t t/61-mech-download.t t/61-popup.t t/61-screencast.t t/62-ne +tworkstatus.t t/62-viewport-size.t t/65-is_visible-2.t t/65-is_visibl +e.t t/65-save-content.t t/65-wait_until_visible.t t/70-mech-png.t t/7 +5-classnames.t t/76-scroll.t t/77-reload-fragment.t t/78-memleak.t t/ +78-two-instances.t t/99-interactive-single-window.t t/rt127588.t t/rt +130999.t t/select.t # Testing WWW::Mechanize::Chrome 0.65, Perl 5.032001 # AutoLoader 5.74 # B 1.80 # Carp 1.50 # Carp::Heavy 1.50 # Chrome::DevToolsProtocol 0.65 # Chrome::DevToolsProtocol::EventListener 0.65 # Chrome::DevToolsProtocol::Target 0.65 # Chrome::DevToolsProtocol::Transport 0.65 # Class::Method::Modifiers 2.13 # Class::XSAccessor 1.19 # Class::XSAccessor::Heavy 1.19 # Clone 0.45 # Config 5.032001 # Cwd 3.78 # Data::Dumper 2.174_01 # DynaLoader 1.47_01 # Errno 1.3 # Exporter 5.74 # Exporter::Heavy 5.74 # Fcntl 1.13 # File::Basename 2.85 # File::Spec 3.78 # File::Spec::Unix 3.78 # File::Spec::Win32 3.79 # Filter::Simple 0.96 # Filter::Util::Call 1.6 # Filter::signatures 0.17 # Future 0.47 # Future::Exception 0.47 # Future::HTTP 0.14 # HTML::Selector::XPath 0.25 # HTTP::Cookies 6.10 # HTTP::Cookies::ChromeDevTools 0.65 # HTTP::Cookies::Netscape 6.10 # HTTP::Date 6.05 # HTTP::Headers 6.27 # HTTP::Headers::Util 6.27 # HTTP::Message 6.27 # HTTP::Response 6.27 # HTTP::Status 6.27 # IO 1.45 # IO::Handle 1.45 # IO::Socket 1.45 # IO::Socket::INET 1.45 # IO::Socket::UNIX 1.45 # JSON 4.03 # JSON::XS 4.03 # List::Util 1.55 # Log::Log4perl 1.54 # Log::Log4perl::Appender <unknown> # Log::Log4perl::Appender::String <unknown> # Log::Log4perl::Config <unknown> # Log::Log4perl::Config::BaseConfigurator <unknown> # Log::Log4perl::Config::PropertyConfigurator <unknown> # Log::Log4perl::Config::Watch <unknown> # Log::Log4perl::DateFormat <unknown> # Log::Log4perl::Filter <unknown> # Log::Log4perl::Filter::Boolean <unknown> # Log::Log4perl::JavaMap <unknown> # Log::Log4perl::Layout <unknown> # Log::Log4perl::Layout::PatternLayout <unknown> # Log::Log4perl::Layout::PatternLayout::Multiline <unknown> # Log::Log4perl::Layout::SimpleLayout <unknown> # Log::Log4perl::Level <unknown> # Log::Log4perl::Logger <unknown> # Log::Log4perl::MDC <unknown> # Log::Log4perl::NDC <unknown> # Log::Log4perl::Util <unknown> # Log::Log4perl::Util::TimeTracker <unknown> # MIME::Base64 3.16 # Method::Generate::Accessor <unknown> # Method::Generate::Constructor <unknown> # Moo 2.004004 # Moo::HandleMoose::_TypeMap <unknown> # Moo::Object <unknown> # Moo::_Utils <unknown> # Moo::_mro <unknown> # Moo::_strictures <unknown> # Moo::sification <unknown> # POSIX 1.94 # PerlIO 1.11 # PerlX::Maybe 1.201 # Scalar::Util 1.55 # SelectSaver 1.02 # Socket 2.031 # Storable 3.21 # Sub::Defer 2.006006 # Sub::Quote 2.006006 # Sub::Util 1.55 # Symbol 1.08 # Sys::Hostname 1.23 # Test::Builder 1.302183 # Test::Builder::Formatter 1.302183 # Test::Builder::Module 1.302183 # Test::Builder::TodoDiag 1.302183 # Test::More 1.302183 # Test2::API 1.302183 # Test2::API::Context 1.302183 # Test2::API::Instance 1.302183 # Test2::API::Stack 1.302183 # Test2::Event 1.302183 # Test2::Event::Bail 1.302183 # Test2::Event::Diag 1.302183 # Test2::Event::Exception 1.302183 # Test2::Event::Fail 1.302183 # Test2::Event::Note 1.302183 # Test2::Event::Ok 1.302183 # Test2::Event::Pass 1.302183 # Test2::Event::Plan 1.302183 # Test2::Event::Skip 1.302183 # Test2::Event::Subtest 1.302183 # Test2::Event::V2 1.302183 # Test2::Event::Waiting 1.302183 # Test2::EventFacet 1.302183 # Test2::EventFacet::About 1.302183 # Test2::EventFacet::Amnesty 1.302183 # Test2::EventFacet::Assert 1.302183 # Test2::EventFacet::Control 1.302183 # Test2::EventFacet::Error 1.302183 # Test2::EventFacet::Hub 1.302183 # Test2::EventFacet::Info 1.302183 # Test2::EventFacet::Meta 1.302183 # Test2::EventFacet::Parent 1.302183 # Test2::EventFacet::Plan 1.302183 # Test2::EventFacet::Trace 1.302183 # Test2::Formatter 1.302183 # Test2::Formatter::TAP 1.302183 # Test2::Hub 1.302183 # Test2::Hub::Interceptor 1.302183 # Test2::Hub::Interceptor::Terminator 1.302183 # Test2::Hub::Subtest 1.302183 # Test2::Util 1.302183 # Test2::Util::ExternalMeta 1.302183 # Test2::Util::Facets2Legacy 1.302183 # Test2::Util::HashBase 1.302183 # Test2::Util::Trace 1.302183 # Text::Balanced 2.04 # Tie::Hash 1.05 # Time::HiRes 1.9764 # Time::Local 1.30 # Try::Tiny 0.30 # Types::Serialiser 1.01 # URI 5.06 # URI::Escape 5.06 # WWW::Mechanize::Chrome 0.65 # WWW::Mechanize::Chrome::Node 0.65 # WWW::Mechanize::Link 2.03 # XSLoader 0.30 # attributes 0.33 # base 2.27 # bytes 1.07 # common::sense 3.75 # constant 1.33 # feature 1.58 # mro 1.23 # overload 1.31 # overloading 0.02 # parent 0.238 # re 0.40 # strict 1.11 # vars 1.05 # warnings 1.47 # warnings::register 1.04 t/00-load.t ................................... ok Unhandled type: GLOB at C:/Strawberry/perl/site/lib/Devel/Cycle.pm lin +e 107. t/01-chrome-devtools-protocol-target-cycle.t .. ok t/01-chrome-devtools-protocol-target.t ........ ok t/01-chrome-devtools-protocol.t ............... ok t/01-select-backend-implementation.t .......... skipped: No backend ot +her than IO::Async available t/02-chrome-devtools-tab.t .................... ok t/03-listener-leak-test.t ..................... ok t/47-mech-simplest.t .......................... ok t/49-launch.t ................................. ok t/49-mech-get-file.t .......................... ok t/49-mech-nav.t ............................... ok t/49-pipe.t ................................... skipped: Pipes are cur +rently unsupported on MSWin32 t/49-port.t ................................... ok t/50-follow-link.t ............................ ok t/50-form-with-fields-gh48.t .................. ok t/50-form-with-fields.t ....................... ok # Failed test 'The objectId matches /injectedScriptId/' # at t/50-form2.t line 59. # '7078528237746718247.4.1' # doesn't match '(?^:injectedScriptId)' # Failed test 'The objectId still matches /injectedScriptId/' # at t/50-form2.t line 63. # '7078528237746718247.4.1' # doesn't match '(?^:injectedScriptId)' # Looks like you failed 2 tests of 35. t/50-form2.t .................................. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/35 subtests t/50-mech-autoclose.t ......................... ok t/50-mech-content.t ........................... ok t/50-mech-ct.t ................................ ok t/50-mech-encoding.t .......................... ok t/50-mech-eval.t .............................. ok t/50-mech-forms.t ............................. ok t/50-mech-get-nonexistent.t ................... ok t/50-mech-get.t ............................... ok t/50-mech-new-dsl.t ........................... ok t/50-mech-new-tab.t ........................... ok t/50-mech-new.t ............................... ok t/50-mech-redirect.t .......................... ok t/50-mech-start-url.t ......................... ok t/50-mech-status.t ............................ ok t/50-mech-text.t .............................. ok t/50-popup.t .................................. ok t/50-tick.t ................................... ok t/51-click-intrapage.t ........................ ok t/51-mech-form-with-fields.t .................. ok t/51-mech-links.t ............................. ok t/51-mech-set-content.t ....................... ok t/51-mech-submit.t ............................ ok t/53-mech-capture-js-error.t .................. ok t/56-render-content.t ......................... ok t/58-alert.t .................................. ok t/60-list-tabs.t .............................. ok t/60-mech-cookies.t ........................... ok No search session with given id found -32000 at C:\Users\ADMINU~1\.cpanm\work\1616578452.7424\WWW-Mechanize- +Chrome-0.65\blib\lib/Chrome/DevToolsProtocol/Target.pm line 490 # Looks like your test exited with 2304 just after 10. t/60-mech-custom-headers.t .................... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 11/21 subtests t/61-mech-download.t .......................... ok t/61-popup.t .................................. ok t/61-screencast.t ............................. ok t/62-networkstatus.t .......................... ok t/62-viewport-size.t .......................... ok t/65-is_visible-2.t ........................... ok t/65-is_visible.t ............................. ok t/65-save-content.t ........................... ok t/65-wait_until_visible.t ..................... ok t/70-mech-png.t ............................... ok t/75-classnames.t ............................. ok t/76-scroll.t ................................. ok t/77-reload-fragment.t ........................ ok Unhandled type: GLOB at C:/Strawberry/perl/site/lib/Devel/Cycle.pm lin +e 107. t/78-memleak.t ................................ ok Unhandled type: GLOB at C:/Strawberry/perl/site/lib/Devel/Cycle.pm lin +e 107. t/78-two-instances.t .......................... ok t/99-interactive-single-window.t .............. ok t/rt127588.t .................................. ok t/rt130999.t .................................. ok Use of uninitialized value $ENV{"PATH"} in split at C:/Strawberry/perl +/lib/File/Spec/Win32.pm line 169. Use of uninitialized value $ENV{"PATH"} in split at C:/Strawberry/perl +/lib/File/Spec/Win32.pm line 169. t/select.t .................................... ok Test Summary Report ------------------- t/50-form2.t (Wstat: 512 Tests: 35 Fail +ed: 2) Failed tests: 12, 15 Non-zero exit status: 2 t/60-mech-custom-headers.t (Wstat: 65280 Tests: 10 Fa +iled: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 21 tests but ran 10. Files=64, Tests=516, 191 wallclock secs ( 0.24 usr + 0.11 sys = 0.35 + CPU) Result: FAIL Failed 2/64 test programs. 2/516 subtests failed. gmake: *** [Makefile:974: test_dynamic] Error 255 -> FAIL Installing WWW::Mechanize::Chrome failed. See C:\Users\ADMINU~ +1\.cpanm\work\1616578452.7424\build.log for details. Retry with --for +ce to force install it.

Replies are listed 'Best First'.
Re: Installation of WWW::Mechanize::Chrome
by Corion (Patriarch) on Mar 24, 2021 at 14:42 UTC

    I'm not sure - it seems that some results from Chrome 89 don't match the expected formats anymore. This is not ideal.

    The error

    No search session with given id found -32000

    ... is an error that temporarily shows up. That one should disappear when you re-run the test suite

      Thank you for your answer. I do not really now what to do. It does not seem to be possible or at least difficult to install previous versions of Chrome.

        I currently can't test this, but I plan a new release of W:M:C coming Monday, and that should be tested (and hopefully working) with the latest Chrome versions.

Re: Installation of WWW::Mechanize::Chrome
by Anonymous Monk on Mar 24, 2021 at 14:35 UTC
    I wouldn't. Those test results look serious, and "bad plan" is even more strange. It smells to me like the version of one package is not up-to-date with the version of another.
      Those test results look serious, and "bad plan" is even more strange.

      "Bad plan." isn't strange here at all, since "Looks like your test exited with 2304 just after 10." While I don't advocate ignoring test failures at all, this node smells like FUD instead of well-measured advice.

      Thank you for your opinion.