1
0
Fork 0
mirror of synced 2024-06-17 01:44:30 +12:00

disable passing timeout arg to chrome because v111 is crashing when passed

This commit is contained in:
Nick Sweeting 2023-03-13 10:50:18 +00:00
parent 1f1c70a8b1
commit 606fa397a4

View file

@ -260,8 +260,8 @@ def chrome_args(**options) -> List[str]:
if options['RESOLUTION']:
cmd_args += ('--window-size={}'.format(options['RESOLUTION']),)
if options['TIMEOUT']:
cmd_args += ('--timeout={}'.format(options['TIMEOUT'] * 1000),)
#if options['TIMEOUT']:
# cmd_args += ('--timeout={}'.format(options['TIMEOUT'] * 1000),)
if options['CHROME_USER_DATA_DIR']:
cmd_args.append('--user-data-dir={}'.format(options['CHROME_USER_DATA_DIR']))