mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
修复timeout保存时产生的小问题
This commit is contained in:
parent
81266c9221
commit
fc42308427
@ -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:
|
if 'timeouts' in options_dir and 'timeouts' in options._caps:
|
||||||
timeouts = options.__getattribute__('timeouts')
|
timeouts = options.__getattribute__('timeouts')
|
||||||
|
timeouts['implicit'] /= 1000
|
||||||
timeouts['pageLoad'] /= 1000
|
timeouts['pageLoad'] /= 1000
|
||||||
timeouts['script'] /= 1000
|
timeouts['script'] /= 1000
|
||||||
re_dict['timeouts'] = timeouts
|
re_dict['timeouts'] = timeouts
|
||||||
|
2
setup.py
2
setup.py
@ -6,7 +6,7 @@ with open("README.md", "r", encoding='utf-8') as fh:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="DrissionPage",
|
name="DrissionPage",
|
||||||
version="2.3.1",
|
version="2.3.2",
|
||||||
author="g1879",
|
author="g1879",
|
||||||
author_email="g1879@qq.com",
|
author_email="g1879@qq.com",
|
||||||
description="A module that integrates selenium and requests session, encapsulates common page operations.",
|
description="A module that integrates selenium and requests session, encapsulates common page operations.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user