Answers for "python how to click button on webpage"

2

python click buttons on websites

from selenium import webdriver
import webbrowser

driver = webdriver.Chrome()
driver.get("example.com")
button = driver.find_element_by_id('idofbutton')
button.click()
Posted by: Guest on August-24-2020

Code answers related to "python how to click button on webpage"

Python Answers by Framework

Browse Popular Code Answers by Language