Fix webdriver warning
This commit is contained in:
parent
47fc9a34ea
commit
02193ea772
@ -34,7 +34,7 @@ class SeleniumTest(LiveServerTestCase):
|
|||||||
# But be sure to put it back before comitting, or gitlab CI will fail.
|
# But be sure to put it back before comitting, or gitlab CI will fail.
|
||||||
chrome_options.add_argument('--headless')
|
chrome_options.add_argument('--headless')
|
||||||
chrome_options.add_argument('--disable-gpu')
|
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)
|
cls.sl.implicitly_wait(TIMEOUT)
|
||||||
super(SeleniumTest, cls).setUpClass()
|
super(SeleniumTest, cls).setUpClass()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user