mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-17 20:01:44 +02:00
hide scrollbars in screenshots
This commit is contained in:
@@ -240,6 +240,9 @@ def chrome_args(**options) -> List[str]:
|
||||
'--disable-gpu',
|
||||
'--disable-dev-shm-usage',
|
||||
'--disable-software-rasterizer',
|
||||
'--run-all-compositor-stages-before-draw',
|
||||
f'--virtual-time-budget={options["TIMEOUT"] * 1000}',
|
||||
'--hide-scrollbars',
|
||||
)
|
||||
|
||||
|
||||
@@ -253,7 +256,7 @@ def chrome_args(**options) -> List[str]:
|
||||
cmd_args += ('--window-size={}'.format(options['RESOLUTION']),)
|
||||
|
||||
if options['TIMEOUT']:
|
||||
cmd_args += ('--timeout={}'.format((options['TIMEOUT']) * 1000),)
|
||||
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']))
|
||||
|
Reference in New Issue
Block a user