Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Python-100-Days
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huangkq
Python-100-Days
Commits
155cad5d
Unverified
Commit
155cad5d
authored
May 04, 2019
by
骆昊
Committed by
GitHub
May 04, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #27 from royaso/patch-2
补上Selenium官网地址
https://www.seleniumhq.org
parents
ff4912b3
4611a38d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
05.解析动态内容.md
Day66-75/05.解析动态内容.md
+2
-3
No files found.
Day66-75/05.解析动态内容.md
View file @
155cad5d
...
...
@@ -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所在的路径。
\ No newline at end of file
其中
`/Users/Hao/Downloads/Tools/chromedriver/ `
就是chromedriver所在的路径。
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment