chrome驱动 selenium
chrome驱动 selenim
chrome driver 下载地址 :ChromeDriver - WebDriver for Chrome - Downloads
官网下载地址: https://chromedriver.com/
官网下载地址114版本以下:
ChromeDriver 114 and older versions download
ChromeDriver Download Release Stable/Beta/Dev/Canary Versions
官网文档 selenim
https://chromedriver.com/download
https://www.selenium.dev/documentation/webdriver/
https://www.selenium.dev/documentation/webdriver/getting_started/first_script/
镜像地址:
https://registry.npmmirror.com/binary.html?path=chromedriver/
https://registry.npmmirror.com/binary.html?path=chromedriver/
参考文献
https://news.sohu.com/a/710131884_121124320
https://blog.csdn.net/m0_56736369/article/details/135129718
https://www.imyhq.com/test/1028.html
https://www.jb51.net/article/255087.htm
https://zhuanlan.zhihu.com/p/556505042
https://blog.csdn.net/qq_45158700/article/details/135363339
https://www.jb51.net/article/266920.htm
老版本代码
# 完整代码如下:
# 导入selenium
from selenium import webdriver
# 选择谷歌浏览器
driver_path = r"C:\Program Files (x86)\ChromeCore\ChromeCoreLauncher.exe"
driver = webdriver.Chrome(driver_path)
# 打印网页title
print(driver.title)
环境变量 C:\Users\hp\AppData\Local\Programs\Python\Python38\Scripts\chromedriver.exe
https://blog.csdn.net/qq_45158700/article/details/135363339
https://cloud.tencent.com/developer/article/2308489
教你轻松解决selenium打开浏览器自动退出_python_脚本中心 - 编程客栈 (cppcns.com)
http://www.cppcns.com/jiaoben/python/625934.html
pip uninstall Selenium
pip install Selenium==4.1.1