修复timeout保存时产生的小问题

This commit is contained in:
g1879 2022-01-14 10:19:46 +08:00
parent 81266c9221
commit fc42308427
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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.",