Is there a way to find an element by just text it contains?
Given:
<div>foobar</div> `browser.div(text: contains('foo')).present? # => true'
<div>foobar</div>
Aucun commentaire:
Enregistrer un commentaire