Selecting a Single Option From a Select List
Learn how you can interact with a single select list using Selenium.
We'll cover the following...
Select an option by text
Typically on a web page in a browser, we see the label of a select list. With the help of this label, we can select an option from a select list in Selenium as:
driver.findElement(By.name("car_make")).sendKeys("Volvo (Sweden)");
// or by partial
...