Change options to chrome_options
Signed-off-by: Alassane Yattara <[email protected]>
---
lib/toaster/tests/browser/selenium_helpers_base.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/toaster/tests/browser/selenium_helpers_base.py
b/lib/toaster/tests/browser/selenium_helpers_base.py
index e0ac4376..055dbebc 100644
--- a/lib/toaster/tests/browser/selenium_helpers_base.py
+++ b/lib/toaster/tests/browser/selenium_helpers_base.py
@@ -39,7 +39,7 @@ def create_selenium_driver(cls,browser='chrome'):
options.add_argument('--disable-dev-shm-usage')
options.add_argument('--no-sandbox')
options.add_argument('--remote-debugging-port=9222')
- return webdriver.Chrome(options=options)
+ return webdriver.Chrome(chrome_options=options)
elif browser == 'firefox':
return webdriver.Firefox()
elif browser == 'marionette':
--
2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5940): https://lists.yoctoproject.org/g/toaster/message/5940
Mute This Topic: https://lists.yoctoproject.org/mt/102330664/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/toaster/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-