def get_selected_option(browser, css_selector):
    select = Select(browser.find_element_by_css_selector(css_selector))
    return select.first_selected_option.get_attribute('value')
def get_selected_option(browser, css_selector):
    select = Select(browser.find_element_by_css_selector(css_selector))
    return select.first_selected_option.get_attribute('value')