элемент не кликабелен и как проверить обязательные поля - PullRequest
0 голосов
/ 12 июня 2019
 `i have "Add Driver" feature in that so many fields are there all are 
   mandatory..if i will not enter any data into fields ,it will display 
   "field is required message",,for this how can i write selenium script`.

     WebDriverWait wait2 = new WebDriverWait(driver, 20);
     wait2.until(ExpectedConditions.elementToBeClickable(By.xpath("//a[contains(text(),'Add Driver')]"))).click();

` на картинке ниже приведен пример ,, ] 1

i didn't get how to write logic i m new selenium help me..
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...