Need to extract value from UI using Xpath - using Taiko framework

132 views Asked by At

Am trying to extract value from the field. I can use only Xpath to identify the field. tried $(xpath).text() - i think since am tring to extract vale it returned 0 $(xpath).value() - did not work textBox().value() - inside text box am able to pass id, name. but i need to pass xpath to get the value. Any solutions?

1

There are 1 answers

0
par On

you can use the evaluate api to return the value.