In Selenium Java we are using ACTION class method or SELECT method to select value from drop down.
Is there a similar method in Python?
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.Sign up to join this community
I think this has been already clarified please have a look here:
Did you try to read the documetation for the Selenium Python package? See: https://selenium-python.readthedocs.io/navigating.html
Code example from the documentation:
from selenium.webdriver.support.ui import Select select = Select(driver.find_element_by_name('name')) select.select_by_index(index) select.select_by_visible_text("text") select.select_by_value(value)