Answers for "how to make an xpath that has .contains text and can contain any text"

4

contains text xpath

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

xpath id contains text

//div[contains(@id,'test')]
Posted by: Guest on February-03-2021

Browse Popular Code Answers by Language