<select class="my-class">
<option>One</option>
<option>Two</option>
</select>
from selenium import webdriver
from selenium.webdriver.support.ui import Select
select = Select(driver.find_element_by_class_name('my-class'))
select.select_by_visible_text('Two')