问题遇到的现象和发生背景
我把谷歌下好,对应的驱动器也下好了,在chrome里替换了相关文件,python里也进行打了替换。
问题相关代码,请勿粘贴截图
from selenium import webdriver
网址=webdriver.Chrome('http://www.baidu.com')
运行结果及报错内容
selenium.common.exceptions.WebDriverException: Message: 'www.baidu.com' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
我的解答思路和尝试过的方法
请问我错在哪里可以解决这个问题
我想要达到的结果
我具体的解决方案如下:
如此,是我所做的所有步骤,但是依然报错。