Hello Monks!
I have a Centos 8 VM running on my local machine with a fresh install of Chrome 87.0.4270.0 and WWW::Mechanize::Chrome installed to version 0.60. In trying the dump-links.pl sample project I get this error:
Can't connect without knowing the port?! 0 at /usr/local/share/perl5/C +hrome/DevToolsProtocol.pm line 316.
I tried setting the port as per the docs:
Same error. I followed this earlier post as well but no luck: https://www.perlmonks.org/?node_id=1203079my $mech = WWW::Mechanize::Chrome->new(port => 9222);
From the $TRACE it appears the port is not being set:
Any thoughts on this would be much appreciated!! Thanks! Ed2020/09/26 13:02:28 Spawning $VAR1 = [ '/usr/bin/google-chrome', '--remote-debugging-port=0', '--enable-automation', '--no-first-run', '--mute-audio', '--no-zygote', '--no-sandbox', '--safebrowsing-disable-auto-update', '--disable-background-networking', '--disable-breakpad', '--disable-client-side-phishing-detection', '--disable-component-update', '--disable-hang-monitor', '--disable-prompt-on-repost', '--disable-sync', '--disable-translate', '--disable-web-resources', '--disable-default-apps', '--disable-infobars', '--disable-popup-blocking', '--disable-gpu', '--disable-save-password-bubble', 'about:blank' ]; 2020/09/26 13:02:28 Spawned child as 7191 Can't connect without knowing the port?! 0 at /usr/local/share/perl5/C +hrome/DevToolsProtocol.pm line 316.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |