Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Collection of Practice
2019
1606836976-practice
Commits
cb18d6fa
Commit
cb18d6fa
authored
Oct 16, 2019
by
Yumna Pratista
Browse files
edited gecko
parent
14fada53
Pipeline
#23303
passed with stages
in 7 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
functional_tests/tests.py
View file @
cb18d6fa
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment