From 0f184963546b3b9f0f0ad3337876bdd0ee1739d9 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Mon, 22 Jul 2019 03:57:15 -0400
Subject: [PATCH 5/5] Disable W3C mode in Chrome webdriver.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
test/tools.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/tools.py b/test/tools.py
index b55f54b..9b92393 100644
--- a/test/tools.py
+++ b/test/tools.py
@@ -523,6 +523,7 @@ def browser(request, pytestconfig):
def ChromeHeadless():
options = selenium.webdriver.ChromeOptions()
options.add_argument('headless')
+ options.add_experimental_option('w3c', False)
return selenium.webdriver.Chrome(options=options)
ns = {}
--
2.21.0