‘chromedriver’ executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver
1)下载浏览器版本对应的chromedriver,拷贝至python安装目录的根目录即可
WebDriverException
WebDriverException: Message: unknown error: unhandled inspector error: {“code”:-32000,“message”:“Cannot navigate to invalid URL”}
打开的网页
1)去掉参数的双引号即可