mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Add no sandbox flag
See https://github.com/travis-ci/docs-travis-ci-com/pull/1671 for more info
This commit is contained in:
@@ -32,6 +32,7 @@ def create_browser():
|
||||
options.add_argument("--window-size=1920,1080")
|
||||
if os.environ.get('CI', False):
|
||||
options.add_argument("--headless")
|
||||
options.add_argument("--no-sandbox")
|
||||
driver = webdriver.Chrome(chrome_options=options)
|
||||
return driver
|
||||
|
||||
|
||||
Reference in New Issue
Block a user