This commit is contained in:
2020-05-27 18:09:34 -04:00
parent dd654cff22
commit 5a101e554c

View File

@@ -24,6 +24,8 @@ def create_browser():
# No caching, please and thank you
options.add_argument("--aggressive-cache-discard")
options.add_argument("--disk-cache-size=0")
# God Save The Queen
options.add_argument("--lang=en_GB")
if os.environ.get('CI', False):
options.add_argument("--headless")
options.add_argument("--no-sandbox")