mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
2.5.3修复Drission初始化时self._session_options设置问题
This commit is contained in:
parent
ca65c27d5f
commit
6738dd493c
@ -44,7 +44,7 @@ class Drission(object):
|
||||
self._session_options = SessionOptions(ini_path=ini_path).as_dict()
|
||||
|
||||
elif session_or_options is False:
|
||||
self._driver_options = SessionOptions(read_file=False).as_dict()
|
||||
self._session_options = SessionOptions(read_file=False).as_dict()
|
||||
|
||||
elif isinstance(session_or_options, Session):
|
||||
self._session = session_or_options
|
||||
|
@ -1,4 +1,4 @@
|
||||
# v2.5.1
|
||||
# v2.5.3
|
||||
|
||||
- `DriverPage`添加`run_cdp()`方法
|
||||
- `get()`和`post()`方法删除`go_anyway`参数
|
||||
|
2
setup.py
2
setup.py
@ -6,7 +6,7 @@ with open("README.md", "r", encoding='utf-8') as fh:
|
||||
|
||||
setup(
|
||||
name="DrissionPage",
|
||||
version="2.5.2",
|
||||
version="2.5.3",
|
||||
author="g1879",
|
||||
author_email="g1879@qq.com",
|
||||
description="A module that integrates selenium and requests session, encapsulates common page operations.",
|
||||
|
Loading…
x
Reference in New Issue
Block a user