Jump to content

Recommended Posts

Posted (edited)

Hi,

I'm sorry for probably stupid question in advance, but it seems that I'm not able to figure out how to click on this button myself...

<form id="delivery-and-payment" class="pretty-form" method="post" action="/uzivatel/objednavka/index$180-confirm_setup.html" data-ajax-url="/uzivatel/objednavka/ajax/index$180-confirm_setup.html">

<div class="clearfix">

<div class="float-right"><button type="submit" class="button-green button-green-next"><span>Pokračovat</span></button></div>

it would be nice if you could push me. Thx

Edited by rogue01
Posted (edited)

Suspicious i think.

Is that a sample code from the pages source code,is that a paypal acount ?

Maybe

Edited by armoros

[font="verdana, geneva, sans-serif"] [/font]

Posted (edited)

Thanks, I was obviously out yesterday, sry for lack of information. Yes, that's a sample from source code and yes2, it's czech website :)

The trouble i have with this is that I'm able to filter forms by its ID and find this one, but i don't know how to click the link then.

$Found = ""
$form = _IEFormGetCollection ($IE)

For $aform In $form
If $aform.id & "" = "delivery-and-payment" Then
$Found = $aform
;MsgBox(64, "Success", "Found it!")
ExitLoop
EndIf
Next

And to click the button directly I need something like GetObjByClass which is obviously doesn't exist. I'm still not very perceptive today, but I'll try read more about it and figure it out andl let you know. Sry for hasty question.

Edited by rogue01
Posted

Yes, all my problem was in wrong variable in my submit function and it took me day of trying strange procedures to finaly see it :) Thx.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...