skyinthesea Posted June 4, 2012 Share Posted June 4, 2012 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! Link to comment Share on other sites More sharing options...
somdcomputerguy Posted June 4, 2012 Share Posted June 4, 2012 Try this function in FF.au3 - _FFFormSubmit() - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
skyinthesea Posted June 7, 2012 Author Share Posted June 7, 2012 (edited) 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 June 7, 2012 by skyinthesea Link to comment Share on other sites More sharing options...
somdcomputerguy Posted June 7, 2012 Share Posted June 7, 2012 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now