Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Clicking nameless buttons with WWW::Mechanize

by jbrugger (Parson)
on Mar 15, 2005 at 05:12 UTC ( #439547=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <form action="javascript:alert('1')">
    <input type=submit />
    ...
    <form action="javascript:alert('2')">
    <input type=submit />
    </form>
    
  2. or download this
       $mech->submit_form(
            form_number => 1,
    ...
        );
        # as from $mech->submit_form( ... )
        # If button is not passed, then the submit() method is used instea
    +d.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2020-05-26 11:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (150 votes). Check out past polls.

    Notices?