Fakultas Ilmu Komputer UI

Commit cb18d6fa authored by Yumna Pratista's avatar Yumna Pratista
Browse files

edited gecko

parent 14fada53
Pipeline #23303 passed with stages
in 7 minutes and 10 seconds
......@@ -106,14 +106,14 @@ class NewVisitorTest(StaticLiveServerTestCase):
# We use a new browser session to make sure that no information
# of Edith's is coming through from cookies etc
self.browser.quit()
# chrome_options = Options()
# chrome_options.add_argument('--dns-prefatch-disable')
# chrome_options.add_argument('--no-sandbox')
# chrome_options.add_argument('--headless')
# chrome_options.add_argument('--disable-gpu')
# self.browser = webdriver.Chrome('./chromedriver', chrome_options=chrome_options)
self.browser = webdriver.Firefox()
chrome_options = Options()
chrome_options.add_argument('--dns-prefatch-disable')
chrome_options.add_argument('--no-sandbox')
chrome_options.add_argument('--headless')
chrome_options.add_argument('--disable-gpu')
self.browser = webdriver.Chrome('./chromedriver', chrome_options=chrome_options)
# self.browser = webdriver.Firefox()
# Francis visits the home page. There is no sign of Edith's
# list
self.browser.get(self.live_server_url)
......
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