mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-23 00:12:15 +00:00
Uncomment headless flag for old style tests
This commit is contained in:
@@ -23,7 +23,7 @@ def create_datetime(year, month, day, hour, minute):
|
|||||||
def create_browser():
|
def create_browser():
|
||||||
options = webdriver.ChromeOptions()
|
options = webdriver.ChromeOptions()
|
||||||
options.add_argument("--window-size=1920,1080")
|
options.add_argument("--window-size=1920,1080")
|
||||||
# options.add_argument("--headless")
|
options.add_argument("--headless")
|
||||||
if settings.CI:
|
if settings.CI:
|
||||||
options.add_argument("--no-sandbox")
|
options.add_argument("--no-sandbox")
|
||||||
driver = webdriver.Chrome(options=options)
|
driver = webdriver.Chrome(options=options)
|
||||||
|
|||||||
Reference in New Issue
Block a user