Tag Info

New answers tagged


I think the issue here because your has style="display: none;". In this case, I think you should click on the div first and try it on Select. Below is my code: WebElement divClick = driver.findElement("//div[@class='form_row']/div"); divClick.click(); WebElement dropdown = driver.findElement("//select[@id='dn']"); Select select = new Select(dropdown); ...

Top 50 recent answers are included