Fakultas Ilmu Komputer UI

Commit f67951c0 authored by Aviliani Pramestya's avatar Aviliani Pramestya
Browse files

change setup

parent a51e1829
Pipeline #22724 passed with stages
in 10 minutes and 59 seconds
......@@ -11,13 +11,12 @@ MAX_WAIT = 10
class NewVisitorTest(StaticLiveServerTestCase):
def setUp(self):
# options = Options()
# options.add_argument('--dns-prefetch-disable')
# options.add_argument('--no-sandbox')
# options.add_argument('--headless')
# options.add_argument('disable-gpu')
# self.browser = webdriver.Chrome(executable_path="./chromedriver", options=options)
self.browser = webdriver.Chrome()
options = Options()
options.add_argument('--dns-prefetch-disable')
options.add_argument('--no-sandbox')
options.add_argument('--headless')
options.add_argument('disable-gpu')
self.browser = webdriver.Chrome(executable_path="./chromedriver", options=options)
def tearDown(self):
self.browser.quit()
......
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