Answers for "xpath check contains text"

8

contains text xpath

//*[contains(text(),'ABC')]
Posted by: Guest on June-01-2020
0

assert xpath text is exact match

button[starts-with(.,'abc')]
Posted by: Guest on June-26-2021

Browse Popular Code Answers by Language