Browse Source
Merge pull request #90 from weskerfoot/headless-fix
Add new arguments for headless option #89
cattrs-fix
Wesley Kerfoot
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
deletefb/tools/login.py
|
@ -32,6 +32,9 @@ def login(user_email_address, |
|
|
if is_headless: |
|
|
if is_headless: |
|
|
chrome_options.add_argument('--headless') |
|
|
chrome_options.add_argument('--headless') |
|
|
chrome_options.add_argument('--disable-gpu') |
|
|
chrome_options.add_argument('--disable-gpu') |
|
|
|
|
|
chrome_options.add_argument('--disabled-features=VizDisplayCompositor') |
|
|
|
|
|
chrome_options.add_argument('--dump-dom') |
|
|
|
|
|
chrome_options.add_argument('--no-sandbox') |
|
|
chrome_options.add_argument('log-level=2') |
|
|
chrome_options.add_argument('log-level=2') |
|
|
|
|
|
|
|
|
try: |
|
|
try: |
|
|