diff --git a/DrissionPage/chromium_frame.py b/DrissionPage/chromium_frame.py index c35903a..09cacb7 100644 --- a/DrissionPage/chromium_frame.py +++ b/DrissionPage/chromium_frame.py @@ -7,10 +7,10 @@ from re import search from time import sleep, perf_counter from warnings import warn -from errors import ContextLossError -from .commons.tools import get_usable_path from .chromium_base import ChromiumBase, ChromiumPageScroll, ChromiumBaseSetter, ChromiumBaseWaiter from .chromium_element import ChromiumElement, ChromiumElementWaiter +from .commons.tools import get_usable_path +from .errors import ContextLossError class ChromiumFrame(ChromiumBase): diff --git a/DrissionPage/chromium_page.py b/DrissionPage/chromium_page.py index dd97022..8d7a632 100644 --- a/DrissionPage/chromium_page.py +++ b/DrissionPage/chromium_page.py @@ -11,11 +11,11 @@ from warnings import warn from requests import Session -from .commons.tools import port_is_using from .chromium_base import ChromiumBase, Timeout, ChromiumBaseSetter, ChromiumBaseWaiter from .chromium_driver import ChromiumDriver from .chromium_tab import ChromiumTab from .commons.browser import connect_browser +from .commons.tools import port_is_using from .commons.web import set_session_cookies from .configs.chromium_options import ChromiumOptions from .errors import CallMethodError, BrowserConnectError diff --git a/setup.py b/setup.py index 317e11a..8e131f8 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="3.2.20", + version="3.2.21", author="g1879", author_email="g1879@qq.com", description="Python based web automation tool. It can control the browser and send and receive data packets.",