Answers for "how to use contains in xpath"

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
3

xpath contains text

//button[contains(text(),"Go")]
Posted by: Guest on July-10-2020
0

xpath element that contains text

"//h4/a[contains(text(),'SAP M')]"
Posted by: Guest on May-11-2021

Browse Popular Code Answers by Language