From fc4230842785c6fce1b8270fddac62d53c24653c Mon Sep 17 00:00:00 2001 From: g1879 Date: Fri, 14 Jan 2022 10:19:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtimeout=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E6=97=B6=E4=BA=A7=E7=94=9F=E7=9A=84=E5=B0=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DrissionPage/config.py | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/DrissionPage/config.py b/DrissionPage/config.py index 08b2479..6412e3e 100644 --- a/DrissionPage/config.py +++ b/DrissionPage/config.py @@ -716,6 +716,7 @@ def _chrome_options_to_dict(options: Union[dict, DriverOptions, Options, None, b if 'timeouts' in options_dir and 'timeouts' in options._caps: timeouts = options.__getattribute__('timeouts') + timeouts['implicit'] /= 1000 timeouts['pageLoad'] /= 1000 timeouts['script'] /= 1000 re_dict['timeouts'] = timeouts diff --git a/setup.py b/setup.py index 1dfae14..9468334 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.3.1", + version="2.3.2", author="g1879", author_email="g1879@qq.com", description="A module that integrates selenium and requests session, encapsulates common page operations.",