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

127 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 best solutions below

0
On

you can use the evaluate api to return the value.