From 6ded711dd5ca9b1406bb1c1e20388521f887715b Mon Sep 17 00:00:00 2001 From: Arona Date: Tue, 26 May 2020 15:26:03 +0100 Subject: [PATCH] Try disabling chrome cache --- PyRIGS/tests/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PyRIGS/tests/base.py b/PyRIGS/tests/base.py index 33e634a2..114bbcc6 100644 --- a/PyRIGS/tests/base.py +++ b/PyRIGS/tests/base.py @@ -16,6 +16,9 @@ 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") if os.environ.get('CI', False): options.add_argument("--headless") options.add_argument("--no-sandbox")