in reply to Re^3: LWP hit button to continue
in thread LWP hit button to continue

Thanks a lot, that's what I am looking for. However now I get an error:
<h1>Software error:</h1> <pre>Can't call method &quot;click&quot; on an undefined value at C:/P +erl/site/lib/WWW/Mechanize.pm line 982, &lt;STDIN&gt; line 1. </pre> <p> For help, please send mail to this site's webmaster, giving this error + message and the time and date of the error. </p>

perl:
use WWW::Mechanize;
my $ua = WWW::Mechanize->new();
$ua->get($url); # url page with button
$ua->click_button( number => 1 ); # there is only one button
print $ua->title;

Replies are listed 'Best First'.
Re^5: LWP hit button to continue
by marto (Cardinal) on Mar 23, 2021 at 16:33 UTC

    What is the output of:

    perl -MWWW::Mechanize -e 'print $WWW::Mechanize::VERSION ."\n";'

    What is the URL you're hitting.