Fix webdriver warning

This commit is contained in:
Anna Sidwell 2018-12-02 02:47:54 +00:00
parent 47fc9a34ea
commit 02193ea772

View File

@ -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()