[Edinburgh-pm] Clicking Confirmation window in Perl

Alex Brelsfoard alex.brelsfoard at gmail.com
Tue Oct 5 12:27:49 PDT 2010


Hiya all,

Anyone know of a way to click "OK" (or "Cancel" for that matter) on a
confirmation window when crawling a web page in perl?

Right now I am using WWW::Mechanize to crawl some pages.
At some point I get sent a confirmation window.  And I don't know how to
click "OK"...

I am perfectly fine switching to another perl module if that's what it
takes.

I am trying WWW::Mechanize::Firefox right now but am running into
difficulties as the server that this code is running on is NOT connected to
any display.

Thanks in advance for any aid.

Cheers,

--Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/edinburgh-pm/attachments/20101005/c5b7995e/attachment.html>


More information about the Edinburgh-pm mailing list