为什么在进行硒测试时检查元素有助于元素可见?

时间:2018-06-25 06:45:38

标签: selenium-webdriver

您是否尝试过在Selenium2中体验到即使它不是隐藏元素也不可见的元素?但是在运行测试时检查元素时,该元素是可见的,并且测试将继续进行。我该怎么办?

<input class="form-control chassis" placeholder="Chassis Prefix" name="chassisprefix" style="cursor: help;" data-toggle="tooltip" data-placement="bottom" data-html="true" title="" data-original-title="<h5 style=&quot;font-weight: bold;&quot;>Chassis Prefix</h5> If you already know the chassis prefix of the vehicle, please type it here. Entering the chassis prefix is one of the most effective ways of searching for a specific vehicle.">

0 个答案:

没有答案