Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Unable to check checkbox via LWP::UserAgent

by Gangabass (Vicar)
on Aug 15, 2012 at 00:42 UTC ( [id://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.

Replies are listed 'Best First'.
Re^2: Unable to check checkbox via LWP::UserAgent
by tel2 (Pilgrim) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://987481]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-24 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found