python selenium (chrome driver)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
381 B

4 years ago
# 亿牛云爬虫代理 selenium demo
4 years ago
4 years ago
## 1、安装
### 安装chrome并下载对应版本的chrome deriver
4 years ago
4 years ago
* 下载chrome
4 years ago
https://www.google.com/chrome/
4 years ago
* 下载对应版本 driver
4 years ago
https://chromedriver.chromium.org/downloads
4 years ago
### pip安装库
4 years ago
```
pip install -r requirements.txt
```
4 years ago
4 years ago
## 2、使用
* 执行demo
4 years ago
```
python demo.py
```
4 years ago
4 years ago
* 执行测试
4 years ago
```
nox
```
4 years ago