Skip to content

Commit

Permalink
webui: set some options on chromedriver
Browse files Browse the repository at this point in the history
(cherry picked from commit 8698ed3)
  • Loading branch information
arogge committed Sep 10, 2021
1 parent 8408857 commit 85bbd9a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions webui/tests/selenium/webui-selenium-test.py
Expand Up @@ -227,6 +227,12 @@ def setUp(self):
+ "-"
+ SeleniumTest.testname
)
# Set some options to improve reliability
# https://stackoverflow.com/a/55307841/11755457
opt.add_argument("--disable-extensions")
opt.add_argument("--dns-prefetch-disable")
opt.add_argument("--disable-gpu")

# test in headless mode?
if self.chromeheadless:
opt.add_argument("--headless")
Expand Down

0 comments on commit 85bbd9a

Please sign in to comment.