Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: https POST and checkboxes

by Corion (Pope)
on Sep 20, 2005 at 15:38 UTC ( #493487=note: print w/ replies, xml ) Need Help??


in reply to https POST and checkboxes

The easiest way of automating web access is to use WWW::Mechanize, which encapsulates LWP::UserAgent and provides among others the tick method, which selects a checkbox on a form.

You might also want to take a look at the FireFox webbrowser and the Live HTTP Headers, which will show you exactly what gets sent by the browser.

There are also two recorder tools to record and later playback a session, namely HTTP::Recorder, which turns your browser session into a WWW::Mechanize script, and WWW::Mechanize::Shell (by me), which gives you a command line interface to your browser, and turns that command session into a WWW::Mechanize script.


Comment on Re: https POST and checkboxes

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-08-02 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (56 votes), past polls