aivaturi/Selenium-Remote-Driver — Issue #27: Select Item from a drop down list
Author: PayneGitHub
Created: 2012-02-02 18:57:59+00:00
State: open

What is the function for selecting an item from a dropdown list based on the actual text of the item to be select.

I'm looking for something similar the following available in the Python WebDriver, for selecting the item called 'Evergreen' from a dropdown element called 'Plants'

Select(driver.find_element_by_name("Plants")).select_by_visible_text("Evergreen")