Selenium Java - Handling Form Elements
Why does the following Selenium Java code cause an exception?
Assuming the dropdown contains only 6 options.
Select select = new Select(driver.findElement(By.id("list")));
select.selectByIndex(7);Assuming the dropdown contains only 6 options.
