I need to select an element from a drop-down menu.
For example:
It works with option value:
from selenium import webdriver b = webdriver.Firefox() b.find_element_by_xpath("//select[@class='class_name']/option[@value='option_value']").click()