This commit is contained in:
Naomi 2018-09-26 15:50:16 +01:00
parent 5faa9f628d
commit 7ce4c993f9

View File

@ -24,6 +24,8 @@ class SeleniumTest(LiveServerTestCase):
def setUpClass(cls):
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument('--no-sandbox')
chrome_options.add_argument('--headless')
chrome_options.add_argument('--disable-gpu')
cls.sl = webdriver.Chrome(chrome_options=chrome_options)
# profile = webdriver.FirefoxProfile()
# profile.set_preference("dom.forms.number", False)