Skip to content

Commit

Permalink
补上Selenium官网地址 https://www.seleniumhq.org
Browse files Browse the repository at this point in the history
  • Loading branch information
royaso authored Feb 20, 2019
1 parent 8c75922 commit 4611a38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Day66-75/05.解析动态内容.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ if __name__ == '__main__':
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
```

为了解决上面的问题,可以到Selenium的[官方网站]()找到浏览器驱动的下载链接并下载需要的驱动,在Linux或macOS系统下可以通过下面的命令来设置PATH环境变量,Windows下配置环境变量也非常简单,不清楚的可以自行了解。
为了解决上面的问题,可以到Selenium的[官方网站](https://www.seleniumhq.org)找到浏览器驱动的下载链接并下载需要的驱动,在Linux或macOS系统下可以通过下面的命令来设置PATH环境变量,Windows下配置环境变量也非常简单,不清楚的可以自行了解。

```Shell
export PATH=$PATH:/Users/Hao/Downloads/Tools/chromedriver/
```

其中`/Users/Hao/Downloads/Tools/chromedriver/ `就是chromedriver所在的路径。
其中`/Users/Hao/Downloads/Tools/chromedriver/ `就是chromedriver所在的路径。

0 comments on commit 4611a38

Please sign in to comment.