Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Perl Mechanize

by choroba (Chancellor)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2016-06-28 10:26 GMT
Find Nodes?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...

    Results (356 votes). Check out past polls.