from selenium.webdriver.support.ui import Select
dropdown = Select(driver.find_element(by='id'))
dropdown.deselect_by_index()
dropdown.deselect_by_value()
dropdown.deselect_by_visible_text()
目次
from selenium.webdriver.support.ui import Select
dropdown = Select(driver.find_element(by='id'))
dropdown.deselect_by_index()
dropdown.deselect_by_value()
dropdown.deselect_by_visible_text()