3
$\begingroup$

After locating the dropdown using the XPath as follows:

element=First@WebExecute["LocateElements"->"XPath"->"..."];

How do I select something from the drop-down list?

Is there a "SelectIndex" that I can use to select from a dropdown list as follows:

WebExecute["SelectIndex"->{element,2}]
$\endgroup$

1 Answer 1

0
$\begingroup$

Get the XPath of the option you want to select, and then use "ClickElement" for that option

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.