Consider using the selenium Select api. http://selenium.googlecode.com/git/docs/api/py/webdriver_support/selenium.webdriver.support.select.html