包含了32位 和64位 2个版本的driver, 亲测可用! chromedriver.exe chromedriver_x64.exe selenium使用chrome报错的朋友可以下载,报错信息如下 The path to the driver executable must be set by the webdriver.chrome.driver system property 下载后使用这个即可 System.setProperty("webdriver.chrome.driver"
因为使用多次以后发现进程中出现了很多chromedriver的残留,造成卡顿,所以决定优化一下。
这个问题困扰了楼主很久,百度谷歌查来查去都只有java,后面根据java和selenium结合看找出了python如何执行完把chromedriver进程关闭
Python的话控制chromedriver的开启和关闭的包是Service
from selenium.webdriver.chrome.service import Service
创建的时候需要把chromedriver.exe的位置