WebDriverWait wait = new WebDriverWait(driver, 20);
wait.until(ExpectedConditions.presenceOfElementLocated(By.xpath("xpath here")));
driver.findElement(By.xpath("xpath here")).sendKeys("mypassword");
No comments:
Post a Comment