I have a div
without id
or class
that I need to select. I'd like to do that by value (since the only way I can think of to get it):
<div style=""> foo: baa </div>
How can I do that?
Imagine XPath query: //div[contains(@innerText,'foo:')]
I have a div
without id
or class
that I need to select. I'd like to do that by value (since the only way I can think of to get it):
<div style=""> foo: baa </div>
How can I do that?
Imagine XPath query: //div[contains(@innerText,'foo:')]