C:\Users\admin>chromedriver.exe
Starting ChromeDriver 98.0.4758.102 (273bf7ac8c909cde36982d27f66f3c70846a3718-refs/branch-heads/4758@{#1151}) on port 9515
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
解决方案:
使用国内镜像下载与自己浏览器匹配的版本

下载地址如下↓:
替换自己Python版本本地地址的ChromeDriver
C:\Python38\Scripts\chromedriver.exe
进入到CMD命令行,输入chromedriver.exe验证

版权声明:本文为zhangxiaozhe8023原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。