I have the following checkbox on the webapp I am creating selenium scripts for. The problem I am running into is that my script can't find this checkbox.
My code:
WebDriverWait wait = new WebDriverWait(SELENIUMWebDriver.Driver, TimeSpan.FromSeconds(30));
wait.Until(ExpectedConditions.ElementIsVisible(
By.XPath("input[@ng-model=\"model['attributes']['3']['attributes']['38'].value\"]"))).Click();
<input type="checkbox" ng-disabled="form.schema.isDisabled" ng-change="form.onChange(model['attributes']['3']['attributes']['38'].value, form)" ng-model="model['attributes']['3']['attributes']['38'].value" ng-model-options="::form.ngModelOptions" ng-true-value="::'True'" ng-false-value="::'False'" class="ng-pristine ng-untouched ng-valid ng-empty">
What am I doing wrong?
Aucun commentaire:
Enregistrer un commentaire