【发布时间】:2019-08-24 20:55:10
【问题描述】:
<input class="chkbx-selection ng-pristine ng-untouched ng-valid" type="checkbox" value="test" id="isAgreeChkBox" ng-model="$root.isAgreement">
请帮我看看这里的 xpath/css 选择器是什么?我需要使用 selenide 中的定位器来定位它
【问题讨论】:
-
什么元素...?请编辑问题!
-
driver.findElement(By.Id("isAgreeChkBox"));
标签: java selenium-webdriver xpath css-selectors selenide