mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-20 01:45:10 -04:00
hide scrollbars in screenshots
This commit is contained in:
parent
c5a9b77f4f
commit
0c321a06d0
1 changed files with 4 additions and 1 deletions
|
@ -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']))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue