Blob Blame History Raw
From 70a6b2f49038a0475c86d9fe736f8afa535a6bc3 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 4/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.31.1