Clerythecleric Posted July 14, 2017 Share Posted July 14, 2017 (edited) So i'm making a tool to use at work, its nearly complete. It scrapes a local intranet page into a txt file, Finds a specific link within in, copys to clipboard, moves tab, pastes into desired fileds now i just need it to click a button however i'm unable to as this button has no ID, class, name or anything. Please can anyone assist me. I have tried used _FFClick("submit", "id"), _FFClick("submit","name") , _FFClick("submit","class") ect... HTML: <button type="submit"> Go <div><div><div><div></div></div></div></div></button> Edited July 14, 2017 by Clerythecleric Link to comment Share on other sites More sharing options...
Danp2 Posted July 14, 2017 Share Posted July 14, 2017 Does the web page contain a form? If so, then usually you would use _FFFormSubmit() for this. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Clerythecleric Posted July 14, 2017 Author Share Posted July 14, 2017 Hi thanks for the reply, it does have a form however when using '_FFFormSubmit() it just sort of refreshes the page? Clears the input field and input boxes i have filed in and refreshes the page? Link to comment Share on other sites More sharing options...
Clerythecleric Posted July 14, 2017 Author Share Posted July 14, 2017 Ahh i fixed it, I had to add this line (just incase it helps anyone else) "_FFFormSubmit("metadataValidatorForm", "id","click")" (with the 'click' it just refreshes) thanks for your help buddy. 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