Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Bergkemper <frank.bergkemper@bareos.com>2022-11-07 16:36:21 +0300
committerPhilipp Storz <philipp.storz@bareos.com>2022-11-10 14:29:52 +0300
commitd244bc9327d10958869f121ac07ef04ca543979c (patch)
tree14d7367932e31ba65d0a19a7766d784a47707c04
parent6032bd7c005a461c5dc43d4d01889ca884375703 (diff)
webui-selenium-test: use options instead of chrome_options
Eliminates deprecation warning: `use options instead of chrome_options`.
-rwxr-xr-xwebui/tests/selenium/webui-selenium-test.py2
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