How to get selected option using Selenium WebDriver with Python:
Someone have a solution for a getFirstSelectedOption?
getFirstSelectedOption
I\'m using this to get th
This is something that selenium makes it easy to deal with - the Select class:
selenium
from selenium.webdriver.support.select import Select select = Select(driver.find_element_by_id('FCenter')) selected_option = select.first_selected_option print selected_option.text