Uncomment headless flag for old style tests

This commit is contained in:
2021-09-18 10:04:34 +01:00
parent bec0d4aee5
commit abb0e35690

View File

@@ -23,7 +23,7 @@ def create_datetime(year, month, day, hour, minute):
def create_browser():
options = webdriver.ChromeOptions()
options.add_argument("--window-size=1920,1080")
# options.add_argument("--headless")
options.add_argument("--headless")
if settings.CI:
options.add_argument("--no-sandbox")
driver = webdriver.Chrome(options=options)