diff --git a/DrissionPage/drission.py b/DrissionPage/drission.py index 3ec61f1..07d16db 100644 --- a/DrissionPage/drission.py +++ b/DrissionPage/drission.py @@ -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 diff --git a/docs/版本历史.md b/docs/版本历史.md index 741e535..0cad757 100644 --- a/docs/版本历史.md +++ b/docs/版本历史.md @@ -1,4 +1,4 @@ -# v2.5.1 +# v2.5.3 - `DriverPage`添加`run_cdp()`方法 - `get()`和`post()`方法删除`go_anyway`参数 diff --git a/setup.py b/setup.py index 5b22cf6..6e3ab28 100644 --- a/setup.py +++ b/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.",