如何找到以下元素:<i class =“pull-right glyphicon glyphicon-chevron-right”ng-class =“getArrowClass($ index)”> </i>

时间:2018-04-13 07:42:27

标签: java selenium-webdriver

如何找到beelow的元素:

<i class="pull-right glyphicon glyphicon-chevron-right" ng-class="getArrowClass($index)"></i>

我试过了:

int i = driver.findElements(By.className("getArrowClass($index)")).size();
System.out.println(i);

0 个答案:

没有答案