【发布时间】:2017-03-02 18:44:41
【问题描述】:
我正在尝试识别 Advantage 购物页面中显示的商品。我正在使用以下属性来识别对象。对象识别中心识别多个对象,但我的脚本返回 0
imgsCnt=browser.findChildren(WebElement.class,new WebElementDescription.Builder().className("ng-scope").tagName("LI").build());
System.out.println("# ItemsPresent : : "+imgsCnt.length);
网页网址:http://www.advantageonlineshopping.com:8080/#/category/5
我想使用 'li' 元素识别可用项目列表。
【问题讨论】:
标签: leanft