Below is the element after typing "Abernathy and Sons" text in text field to generate auto-populated list
<div class="col-md-10 col-sm-10"> ==$0
"Abernathy and Sons "
<p>
<i class="fa fa-map-maker"></i>
" atlanta, GA"
</p>
I have tried with the element
{browser.div(text: "Abernathy and Sons ")}
Giving error:
timed out after 30 seconds, waiting for #/"Abernathy and Sons "/, :tag_name=>"div"}> to be located (Watir::Exception::UnknownObjectException)