selenium.common.exceptions.WebDriverException: Status code was :0
青漪敬亭 2020-12-25 12:05:42 ```
from selenium import webdriver
#注意Chrome里的驱动位置要填写全"C:\Program Files (x86)\Google\Chrome\Application\chrome_proxy.exe"
driver = webdriver.Chrome(**********)
driver.get("https://www.baidu.com")
```
报错提示:selenium.common.exceptions.WebDriverException: Message: Service unexpectedly exited. Status code was: 0
我查了一些博客:
1.有说是要把 ****换成本地路径的,我换了还是报错
2.有说是环境变量设置错误,我也检查了
3.有说吧驱动直接拖拉到工作目录,我也试过了,还是报错