jyhl
5 years ago
1 changed files with 15 additions and 9 deletions
@ -1,19 +1,25 @@ |
|||||||
|
|
||||||
# 安装chrome并下载对应版本的chrome deriver |
## 1、安装chrome并下载对应版本的chrome deriver |
||||||
|
|
||||||
## 下载chrome |
* 下载chrome |
||||||
https://www.google.com/chrome/ |
https://www.google.com/chrome/ |
||||||
|
|
||||||
## 下载对应版本 driver |
* 下载对应版本 driver |
||||||
https://chromedriver.chromium.org/downloads |
https://chromedriver.chromium.org/downloads |
||||||
|
|
||||||
# pip安装库 |
## 2、pip安装库 |
||||||
|
``` |
||||||
pip install -r requirements.txt |
pip install -r requirements.txt |
||||||
|
``` |
||||||
|
|
||||||
# 执行代码 |
## 3、执行代码 |
||||||
|
``` |
||||||
python demo.py |
python demo.py |
||||||
|
``` |
||||||
|
|
||||||
# 执行测试 |
## 4、执行测试 |
||||||
|
``` |
||||||
nox |
nox |
||||||
|
``` |
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in new issue