Fakultas Ilmu Komputer UI

Commit 14fada53 authored by Yumna Pratista's avatar Yumna Pratista
Browse files

changed gecko

parent f4ba2048
Pipeline #23300 failed with stages
in 7 minutes and 2 seconds
......@@ -11,14 +11,14 @@ MAX_WAIT = 10
class NewVisitorTest(StaticLiveServerTestCase):
def setUp(self):
# 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()
# self.browser.implicitly_wait(20)
def tearDown(self):
......
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