I am trying to fill out the dropdown menus found on this homepage using Python and the selenium package. To Select Make I am using the following code
from selenium import webdriver
from selenium.webdriver import ActionChains
from selenium.webdriver.support.select import Select
driver = webdriver.Firefox()
driver.implicitly_wait(5)
driver.get('http://www.tirerack.com/content/tirerack/desktop/en/homepage.html')
button = driver.find_element_by_tag_name('button')
ActionChains(driver).click(button).perform()
select_make = driver.find_element_by_id('vehicle-make')
Select(select_make).select_by_value("BMW")
However this does not seem to actually "Select the BMW" option. I tried to follow the method explained in this post. Can someone show me what I am doing wrong?