mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-03-03 02:28:23 +00:00
Try disabling chrome cache
This commit is contained in:
@@ -16,6 +16,9 @@ def create_datetime(year, month, day, hour, min):
|
|||||||
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")
|
||||||
|
# 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):
|
if os.environ.get('CI', False):
|
||||||
options.add_argument("--headless")
|
options.add_argument("--headless")
|
||||||
options.add_argument("--no-sandbox")
|
options.add_argument("--no-sandbox")
|
||||||
|
|||||||
Reference in New Issue
Block a user