How do I select a dropdown in Selenium?

How do I select a dropdown in Selenium?

Dropdowns are typically implemented in HTML using either the or the tags. Selenium WebDrivers provides a " Select " class for performing specific operations on dropdowns declared with the HTML tag. The details will be displayed as soon as you start typing “Select” in your IDE.