We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb7dfb8 commit fa3cd67Copy full SHA for fa3cd67
repos/kaleido/py/kaleido/scopes/base.py
@@ -18,11 +18,17 @@ class BaseScope(object):
18
# flags to configure scope
19
_scope_flags = ()
20
21
+ # Specify default chromium arguments
22
_default_chromium_args = (
23
"--disable-gpu",
24
"--allow-file-access-from-files",
25
"--disable-breakpad",
26
"--disable-dev-shm-usage",
27
+ ) + (
28
+ # Add "--single-process" when running on AWS Lambda. Flag is described
29
+ # as for debugging only by the chromium project, but it's the only way to get
30
+ # chromium headless working on Lambda
31
+ ("--single-process",) if os.environ.get("LAMBDA_RUNTIME_DIR", None) else ()
32
)
33
34
_scope_chromium_args = ()
0 commit comments