Answers for "xpath to check elemnt should have text"

1

xpath id contains text

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

How to find xpath by contained text

driver.find_elements_by_xpath("//*[contains(text(),'panel')]")
Posted by: Guest on July-26-2021

Browse Popular Code Answers by Language