В форме логина есть элемент поля пароля с display:none.
Каким образом пройти эту форму с FirefoxDriver, если выдается исключение
WebElement elementLogin = driver.findElement(By.id("navbar_username")); WebElement elementPassword = driver.findElement(By.id("navbar_password")); Boolean visible = elementPassword.isDisplayed(); System.out.println(visible);
Exception in thread "main" org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with
Я тестировал эту форму сначала с WebUnitDriver, и эта форма проходилась без проблем, теперь нужно с FirefoxDriver, но как ее пройти?