Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Unable to check checkbox via LWP::UserAgent

by Gangabass (Priest)
on Aug 15, 2012 at 00:42 UTC ( #987481=note: print w/ replies, xml ) Need Help??


in reply to Unable to check checkbox via LWP::UserAgent

May be there is some Javascript code executed on submit? Does this checkbox work in the browser with Javascript disabled?

Anyway I highly recommend you to try WWW::Mechanize for web automation.


Comment on Re: Unable to check checkbox via LWP::UserAgent
Download Code
Re^2: Unable to check checkbox via LWP::UserAgent
by tel2 (Scribe) on Aug 15, 2012 at 01:17 UTC
    Thanks Gangabass,

    I've now confirmed that checking the boxes and submitting with JavaScript disabled in my browser (Firefox) saves my checkbox selections without a problem, so it seems that wasn't the issue.  I doubt JavaScript is used at all in Mailman's webpages, as it seems to work like straight HTML.

    Why do you recommend WWW::Mechanize?

    Thanks.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987481]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2014-11-23 03:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (128 votes), past polls