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

Re^4: https javascript form

by PerlSufi (Pilgrim)
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


Comment on Re^4: https javascript form
Download Code
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2014-07-14 04:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (254 votes), past polls