Element is not currently visible and so may not be interacte
Element is not currently visible and so may not be interacte
M
Posted on 29/02/2016
Exception in thread "main" org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with. I am selecting a dropdown values at that time this error was occur.
Code: Driver.findElement(By.xpath("//select")).click(); new Select(Driver.findElement(By.xpath("//select"))).selectByVisibleText("Dealer"); Driver.findElement(By.cssSelector("option[value=\"Dealer\"]")).click();