@nomie7 said in Check a checkbox that was found using xpath:
self.checkedHi,
can someone help with a javascript. i found this element by xpath its hidden and its a checkbox how can i make it checked.
XPATH> (//*[starts-with(@id, 'react-select-') and contains(@id, 'option')])[variable]
@zxcawsdik said in how to add variable to xpath:
@DuckDuck XPATH> (//*[starts-with(@id, 'react-select-') and contains(@id, 'option')])[[[variable]]]?
You can put the entire xpath expression in a variable, and in the action, instead of a selector, already use a variable.
@zxcawsdik it is dont work