Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: https POST and checkboxes

by Corion (Patriarch)
on Sep 20, 2005 at 15:38 UTC ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-23 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found