In case anyone else encountered this problem. You have to edit your function and check the "has return value" box. Then your return will work. After this you have to use "Call Function" again and now you have a new field for saving results.
how to add variable to xpath
-
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