Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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


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 making s'mores by the fire in the courtyard of the Monastery: (16)
As of 2015-07-02 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (31 votes), past polls