1
0
Fork 0
mirror of synced 2024-06-23 08:30:29 +12:00

hide scrollbars in screenshots

This commit is contained in:
Nick Sweeting 2018-06-17 19:09:09 -04:00
parent 738513ead8
commit 735f530516

View file

@ -280,7 +280,9 @@ def fetch_screenshot(link_dir, link, timeout=TIMEOUT, user_data_dir=CHROME_USER_
*chrome_headless(user_data_dir=user_data_dir),
'--screenshot',
'--window-size={}'.format(resolution),
link['url']
'--hide-scrollbars',
# '--full-page', # TODO: make this actually work using ./bin/screenshot fullPage: true
link['url'],
]
end = progress(timeout, prefix=' ')
try: