📅  最后修改于: 2022-03-11 14:45:06.805000             🧑  作者: Mango
from selenium import webdriver
import webbrowser
driver = webdriver.Chrome()
driver.get("example.com")
button = driver.find_element_by_id('idofbutton')
button.click()