DrissionPage/docs/使用方法/安装与导入.md
2021-12-10 19:02:42 +08:00

15 lines
525 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 安装
```
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
```