【发布时间】:2020-11-26 16:50:27
【问题描述】:
<div class="u-grid">
<div class="u-truncate ng-binding ng-isolate-scope" ng-class="" ng-style="" tooltip="" tooltip-truncated="" ng-bind="$ctrl.parent.getProperty($ctrl.field, $ctrl.record)" xpath="1">24" Combination refrigerator w/ ice maker reversible door swing, Black</div>
</div>
xpath:
driver.findElement(By.xpath("//div[contains(text(),'24" 组合冰箱w/制冰机reversib')]")).click();
【问题讨论】:
-
你遇到了什么错误?
标签: java testing selenium-webdriver automation automated-tests