【发布时间】:2020-02-03 23:21:34
【问题描述】:
以下是在文本字段中键入“Abernathy and Sons”文本以生成自动填充列表后的元素
<div class="col-md-10 col-sm-10"> ==$0
"Abernathy and Sons "
<p>
<i class="fa fa-map-maker"></i>
" atlanta, GA"
</p>
我已经尝试过使用元素
{browser.div(text: "Abernathy and Sons ")}
给出错误:
30 秒后超时,等待定位 #/"Abernathy and Sons "/, :tag_name=>"div"}> (Watir::Exception::UnknownObjectException)
【问题讨论】: