Skip to content
horejsek edited this page Mar 5, 2013 · 1 revision

If some element is select, it returns Select instance inherited from selenium's Select and WebDriver wrapper. So you can use all method from WebDriver and Select.

select = driver.get_elm(tag_name='select')
select.get_attribute('name')
select.select_by_value('value')
select.find_elements_by_text('Option text')
Clone this wiki locally