diff options
author | Frank Bergkemper <frank.bergkemper@bareos.com> | 2022-11-07 16:36:21 +0300 |
---|---|---|
committer | Philipp Storz <philipp.storz@bareos.com> | 2022-11-10 14:29:52 +0300 |
commit | d244bc9327d10958869f121ac07ef04ca543979c (patch) | |
tree | 14d7367932e31ba65d0a19a7766d784a47707c04 | |
parent | 6032bd7c005a461c5dc43d4d01889ca884375703 (diff) |
webui-selenium-test: use options instead of chrome_options
Eliminates deprecation warning: `use options instead of chrome_options`.
-rwxr-xr-x | webui/tests/selenium/webui-selenium-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webui/tests/selenium/webui-selenium-test.py b/webui/tests/selenium/webui-selenium-test.py index a1e73cd80..7fe1ccca8 100755 --- a/webui/tests/selenium/webui-selenium-test.py +++ b/webui/tests/selenium/webui-selenium-test.py @@ -258,7 +258,7 @@ class SeleniumTest(unittest.TestCase): opt.add_argument("--no-sandbox") self.driver = webdriver.Chrome( - self.chromedriverpath, chrome_options=opt + self.chromedriverpath, options=opt ) elif self.browser == "firefox": d = DesiredCapabilities.FIREFOX |