driver = webdriver.Firefox()
driver.get('url')
select = Select(driver.find_element_by_id('fruits01'))
select.select_by_visible_text('Banana')
select.select_by_value('1')
Selenium - Python - drop-down menu option value