Skip to content

Commit d6b094b

Browse files
committed
update to new headless size format
headless seems to honor the height but not the width (scaled non-linearly)
1 parent c3a860a commit d6b094b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def handler(event=None, context=None):
1111
options.add_argument("--headless=new")
1212
options.add_argument('--no-sandbox')
1313
options.add_argument("--disable-gpu")
14-
options.add_argument("--window-size=1280x1696")
14+
options.add_argument("--window-size=1280,1696")
1515
options.add_argument("--single-process")
1616
options.add_argument("--disable-dev-shm-usage")
1717
options.add_argument("--disable-dev-tools")

0 commit comments

Comments
 (0)