Skip to content


Here are 874 public repositories matching this topic...

eiko commented Mar 11, 2021

The current implementation of find_by_text uses the following xpath: //*[text()="some text"], which only looks at the first text node within an element. This makes it difficult to query for elements with text split across multiple text nodes.

I think it would be useful to add an alternative that acts more like element.textContent(), querying against all inner text of an element rather tha

Improve this page

Add a description, image, and links to the webdriver topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the webdriver topic, visit your repo's landing page and select "manage topics."

Learn more