mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
15 lines
525 B
Markdown
15 lines
525 B
Markdown
# 安装
|
||
|
||
```
|
||
pip install DrissionPage
|
||
```
|
||
|
||
只支持 python3.6 及以上版本,目前只在 Windows 环境下作了测试,支持所有selenium支持的浏览器,但对chrome支持最全面。
|
||
若要使用 driver 模式,须配置 chrome 和 **对应版本** 的 chromedriver。[[chromedriver下载]](http://npm.taobao.org/mirrors/chromedriver)
|
||
easy_set 工具中的 get_match_driver() 方法可自动识别 chrome 版本并下载匹配的 driver 。
|
||
|
||
# 导入模块
|
||
|
||
```python
|
||
from DrissionPage import MixPage
|
||
``` |