diff --git a/DrissionPage/__init__.py b/DrissionPage/__init__.py index 2b4c57c..f631dfe 100644 --- a/DrissionPage/__init__.py +++ b/DrissionPage/__init__.py @@ -13,4 +13,4 @@ from ._configs.chromium_options import ChromiumOptions from ._configs.session_options import SessionOptions __all__ = ['ChromiumPage', 'ChromiumOptions', 'SessionOptions', 'SessionPage', 'WebPage', '__version__'] -__version__ = '4.0.0b25' +__version__ = '4.0.0b26' diff --git a/DrissionPage/_pages/chromium_base.py b/DrissionPage/_pages/chromium_base.py index bfa068a..e9ba765 100644 --- a/DrissionPage/_pages/chromium_base.py +++ b/DrissionPage/_pages/chromium_base.py @@ -622,7 +622,7 @@ class ChromiumBase(BasePage): pass if perf_counter() >= end_time: - return None if single else [] + return NoneElement(self) if single else [] sleep(.1) diff --git a/setup.py b/setup.py index 99298bd..82bafe4 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="4.0.0b24", + version="4.0.0b26", author="g1879", author_email="g1879@qq.com", description="Python based web automation tool. It can control the browser and send and receive data packets.",