Skip to content

Commit

Permalink
webui tests: add --no-sandbox option to enable testing as root
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Jan 24, 2020
1 parent a6a1ae8 commit d62fa5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webui/tests/selenium/webui-selenium-test.py
Expand Up @@ -230,6 +230,8 @@ def setUp(self):
# test in headless mode?
if self.chromeheadless:
opt.add_argument("--headless")
opt.add_argument("--no-sandbox")

self.driver = webdriver.Chrome(self.chromedriverpath, chrome_options=opt)
elif self.browser == "firefox":
d = DesiredCapabilities.FIREFOX
Expand Down

0 comments on commit d62fa5d

Please sign in to comment.