I have a search box (<input>
element), and I try to get the element by the text that written into it.
I try to do the next:
// input [@value= "my text"]
but it doesn't work (just to be clear - the value is not attribute of the input element. accully, when I do inspect element, I don't see the text that written in this text box).
<div class="EwdOOOOO">
<div class="GOOOEOOO">Hello </div>
<input type="text" class="GOBLEOOO">
</div>
and the seatch box I put:
"How are you?"
You can see that "How are you?"
isn't found in the DOM.
Thanks.