Jump to content
Sign in to follow this  
skyinthesea

FF.au3 elements

Recommended Posts

skyinthesea

Hi!

I am really interested by FF.au3 and started to experiment with it. I worked out all the things I needed to know so far such as selecting dropdown lists, filling out forms etc. But I've come across one small problem.

<input type="submit" onclick="submit;" value="next">

I've tried things such as :

_FFClick(_FFXPath("/html/body/div[3]/div[3]/table/tbody/tr/td[2]/div[2]/div[2]/form/input[2]", "", 9))

and

_FFClick("next", "submit")

Both of which return errors

( _FFClick ==> Invalid value: (elements|id|name|class|tag) $sMode: value )

Any suggestions as to how to press this button would be appreciated!

Share this post


Link to post
Share on other sites
somdcomputerguy

Try this function in FF.au3 - _FFFormSubmit()


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
skyinthesea

just fixed my own problem!! Thanks for your suggestion. I needed to look at the previous part of the source to find the bit that needed submitting!

Edited by skyinthesea

Share this post


Link to post
Share on other sites
somdcomputerguy

Well good on ya then for resolving your problem. Maybe you could post how you resolved it, that might help somebody else in the future that runs into a similar situation.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.