mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-26 01:42: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")
|
options.add_argument("--window-size=1920,1080")
|
||||||
if os.environ.get('CI', False):
|
if os.environ.get('CI', False):
|
||||||
options.add_argument("--headless")
|
options.add_argument("--headless")
|
||||||
|
options.add_argument("--no-sandbox")
|
||||||
driver = webdriver.Chrome(chrome_options=options)
|
driver = webdriver.Chrome(chrome_options=options)
|
||||||
return driver
|
return driver
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user