Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

click button in selenium python

url = "https://yahoo.com"
driver = Firefox(executable_path="geckodriver.exe")
driver.get(url)
driver.find_element_by_css_selector("button.btn:nth-child(5)").click()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #click #button #selenium #python
ADD COMMENT
Topic
Name
1+5 =