import os from selenium import webdriver chromedriver = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" os.environ["webdriver.chrome.driver"] = chromedriver driver = webdriver.Chrome(chromedriver) driver.quit()
微信公众号: 架构师日常笔记 欢迎关注!
import os from selenium import webdriver chromedriver = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" os.environ["webdriver.chrome.driver"] = chromedriver driver = webdriver.Chrome(chromedriver) driver.quit()
微信公众号: 架构师日常笔记 欢迎关注!