CHAPTER 8
Select List
A select list is also known as a drop-down list or combo box. An example is shown in Figure 8-1.
Figure 8-1. An example of a select list
Select an option by text
The label of a select list is what we can see in the browser.
IWebElement elem = driver.FindElement(By.Name("car_make")); ...
Get Selenium WebDriver Recipes in C#, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.