📅  最后修改于: 2022-03-11 14:45:59.632000             🧑  作者: Mango
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()