Fakultas Ilmu Komputer UI

Commit a49d9848 authored by Rani Lasma Uli's avatar Rani Lasma Uli
Browse files

spiked in custom passwordless auth backend

parent 9c5ef857
......@@ -18,13 +18,15 @@ class FunctionalTest(StaticLiveServerTestCase):
self.options.add_argument('--no-sandbox')
self.options.add_argument('--headless')
self.options.add_argument('disable-gpu')
self.options.add_argument('--dns-prefetch-disable')
self.options.add_argument("--disable-gpu")
self.options.add_argument("--disable-extensions")
self.createBrowserInstance()
def createBrowserInstance(self):
try:
self.browser = webdriver.Chrome(options=self.options)
except WebDriverException:
# linux
self.browser = webdriver.Chrome('./chromedriver',
options=self.options)
self.browser.implicitly_wait(3)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment