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

Re: Perl Mechanize

by choroba (Bishop)
on Apr 22, 2013 at 22:18 UTC ( #1029988=note: print w/replies, xml ) Need Help??

in reply to Perl Mechanize

The page contains some javascript. It might be possible that the page cannot be submitted without interpreting it. In such a case, you might be more lucky with WWW::Mechanize::Firefox.

Moreover, checking the documentation of WWW::Mechanize, I noticed that $browser->submit takes no parameters and returns a HTTP::Response object. Specifying

value => 'Run'
is debatable as well, since the button is not called "value" and its value is "RUN", not "Run".
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: Perl Mechanize
by zoya (Initiate) on Apr 23, 2013 at 06:52 UTC
    Thank you for the answer, i am still having troubles, unable to install mechanize firefox and secondly i change the run to RUN but still same output, can u plz explain me further

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1029988]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2018-06-23 22:01 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.