Answers for "how to find text locator in xpath"

0

How to find xpath by contained text

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

find elements by xpath with matching text

Xpath=//*[contains(@type,'sub')]
Posted by: Guest on July-17-2021

Browse Popular Code Answers by Language