Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^4: https javascript form

by PerlSufi (Friar)
on Jun 13, 2013 at 14:08 UTC ( #1038747=note: print w/replies, xml ) Need Help??

in reply to Re^3: https javascript form
in thread https javascript form

See if
 $mech->click_button(value => "Log ind");
works after you filled in the fields successfully

Replies are listed 'Best First'.
Re^5: https javascript form
by Anonymous Monk on Jun 13, 2013 at 18:18 UTC
    Nope. It doesn't work either.

    I have a feeling that it has something to do with the 'action'-url contained in the form. Could that be true? and how do I implement it in my submit_form? I have being searching for examples but haven't found any relevant yet.

      Maybe. You can try  $mech->post($url); I think. If you're willing to use an external browser that interprets javascript, I would take a look at WWW::Mechanize::Firefox or WWW::Selenium

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2016-10-23 16:50 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.