User05
User05

Reputation: 1

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

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?

Upvotes: 0

Views: 143

Answers (1)

Nivedha Senthil
Nivedha Senthil

Reputation: 957

you can use the evaluate api to return the value.

Upvotes: 0

Related Questions