📌  相关文章
📜  chromedriver = webdriver.Chrome(“D:\driver\chromedriver.exe”) 不起作用 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:59.293000             🧑  作者: Mango

代码示例1
"chromedriver = webdriver.Chrome(“D:\driver\chromedriver.exe”)" doesnt work for me 
so i found out if i use "driver = webdriver.Chrome(executable_path=r'DRIVER_PATH')"
 it works


from selenium import webdriver
driver = webdriver.Chrome(executable_path=r'D:\driver\chromedriver.exe')