yyywww Posted March 21, 2018 Posted March 21, 2018 How can I get an object if the form doesn't have a name? In the example script of _IEFormElementGetObjByName, the script uses Google.com, which I believe has its form named "f". What do I put in the second parameter if the form doesn't have a name?
Subz Posted March 21, 2018 Posted March 21, 2018 If you know there is only one form then you could use _IETagNameGetCollection($oIE, "form"), you can also use another element within the form to make changes, i.e. you don't need to use the _IEForm... functions to make changes to a form. yyywww 1
Danp2 Posted March 21, 2018 Posted March 21, 2018 If you know the form number, then use the $iIndex parameter to directly retrieve the desired form -- Local $oForm = _IEFormGetCollection($oIE, 0) yyywww 1 Latest Webdriver UDF Release Webdriver Wiki FAQs
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