Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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 scrutinizing the Monastery: (4)
As of 2016-10-22 20:57 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (298 votes). Check out past polls.