From 02193ea7720123d129163a6afeb3f354e7a1dff4 Mon Sep 17 00:00:00 2001 From: Anna Sidwell Date: Sun, 2 Dec 2018 02:47:54 +0000 Subject: [PATCH] Fix webdriver warning --- ojusomap/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ojusomap/tests.py b/ojusomap/tests.py index ee7f3d5..7040e4a 100644 --- a/ojusomap/tests.py +++ b/ojusomap/tests.py @@ -34,7 +34,7 @@ class SeleniumTest(LiveServerTestCase): # But be sure to put it back before comitting, or gitlab CI will fail. chrome_options.add_argument('--headless') chrome_options.add_argument('--disable-gpu') - cls.sl = webdriver.Chrome(chrome_options=chrome_options) + cls.sl = webdriver.Chrome(options=chrome_options) cls.sl.implicitly_wait(TIMEOUT) super(SeleniumTest, cls).setUpClass()