Thank you for the quick reply!!!

Does that only work headless? When I insert that code into dump-links.pl I get this:

2020/09/26 14:01:35 Spawning $VAR1 = [ '/usr/bin/google-chrome', '--remote-debugging-pipe', '--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 14:01:35 Spawned child as 3455 [3455:3455:0926/140135.852054:ERROR:browser_main_loop.cc(1434)] Unable + to open X display. 2020/09/26 14:01:35 Sent message $VAR1 = '{"id":1,"method":"Target.get +Targets","params":{}}'; $VAR1 = [ bless( { 'read_len' => 8192, 'reader' => '_sysread', 'cb_r' => sub { "DUMMY" }, 'want_readready' => 1, 'close_on_read_eof' => 1, 'handle_closing' => undef, 'write_handle' => \*{'WWW::Mechanize::Chrome::$pare +nt{...}'}, 'want_writeready' => 1, 'read_handle' => \*{'WWW::Mechanize::Chrome::$paren +t{...}'}, 'want' => 9, 'on_read' => sub { "DUMMY" }, 'write_eof' => 1, 'writequeue' => [ bless( [ '{"id":1,"method":"Targe +t.getTargets","params":{}}', 8192, undef, undef, undef, 0 ], 'IO::Async::Stream::Wri +ter' ) ], 'write_len' => 8192, 'writeable' => 1, 'readqueue' => [], 'writer' => '_syswrite', 'cb_w' => sub { "DUMMY" }, 'on_write_error' => sub { "DUMMY" }, 'IO_Async_Notifier__loop' => bless( { 'os' => {}, 'deferrals' = +> [], 'sigattaches' + => {}, 'timequeue' = +> undef, 'pollevents' +=> { + '7' => 16, + '6' => 12 + }, 'notifiers' = +> { + '94094341331112' => $VAR1->[0] + }, 'childwatches +' => {}, 'pollmask' => + { + '6' => 4, + '7' => 1 + }, 'childmanager +' => undef, 'threadwatche +s' => {}, 'iowatches' = +> { + '6' => [ + $VAR1->[0]{'write_handle'}, + undef, + $VAR1->[0]{'cb_w'} + ], + '7' => [ + $VAR1->[0]{'read_handle'}, + $VAR1->[0]{'cb_r'} + ] + }, 'poll' => und +ef, 'old_timer' = +> '' }, 'IO::Async:: +Loop::Poll' ), 'readbuff' => '' }, 'IO::Async::Stream' ), 'Broken pipe' ];

In reply to Re^2: WWW::Mechanize::Chrome Can't Connect without knowing the port?! by dexmar
in thread WWW::Mechanize::Chrome Can't Connect without knowing the port?! by dexmar

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.