Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 examining the Monastery: (7)
As of 2014-07-12 04:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (238 votes), past polls