What about this?

Swear I spend my life jiggerypokerying the damn test suite...
This commit is contained in:
2021-01-26 21:51:59 +00:00
parent 18a091f8ea
commit a99e4b1d1c
4 changed files with 10 additions and 13 deletions

View File

@@ -20,9 +20,6 @@ def create_datetime(year, month, day, hour, min):
def create_browser():
options = webdriver.ChromeOptions()
options.add_argument("--window-size=1920,1080")
# No caching, please and thank you
options.add_argument("--aggressive-cache-discard")
options.add_argument("--disk-cache-size=0")
options.add_argument("--headless")
if settings.CI:
options.add_argument("--no-sandbox")