Drissionpage

Latest version: v4.1.0.18

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 8

1.5.1

修复获取编码可能出现的bug

1.5.0

- s mode uses lxml library instead of requests_html library
- You can directly call the page object and element object to get the lower-level elements, element('id=ele_id') is equivalent to element.ele('id=ele_id')
- nexts(), prevs() methods can get text nodes
- Get pseudo element attributes and text
- Add link and inner_html attributes to element objects
- Various optimizations

1.4.0

- d模式使用js通过evaluate方法处理xpath,放弃使用selenium原生的方法,以支持用xpath直接获取文本节点、元素属性
- d模式增加支持用xpath获取元素文本、属性
- 优化和修复小问题

1.2.1

- 优化修复网页编码逻辑
- download函数优化获取文件名逻辑
- 优化download()获取文件大小逻辑
- 优化MixPage对象关闭session逻辑

1.2.0

- 增加对shadow-root的支持
- 增加自动重试连接功能
- MixPage可直接接收配置
- 修复一些bug

1.1.3

- 连接有关函数增加是否抛出异常参数
- session模式判断编码优化
- driver模式check_page()优化
- 修复run_script()遗漏args参数的问题

Page 5 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.