From 67bc1984968b9d1f962c04eaecec5a852891acdd Mon Sep 17 00:00:00 2001 From: Mathieu Date: Tue, 20 Feb 2024 21:09:52 +0100 Subject: [PATCH] fixup! tests: Migrate deprecated selenium desired_capabilities --- tests-qa/acceptance/ressources/Browser.robot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests-qa/acceptance/ressources/Browser.robot b/tests-qa/acceptance/ressources/Browser.robot index 9f0b041f76..0fb7482efa 100644 --- a/tests-qa/acceptance/ressources/Browser.robot +++ b/tests-qa/acceptance/ressources/Browser.robot @@ -29,8 +29,8 @@ ${HEADLESS} ${True} Log Open Browser Firefox ${firefox_options} = Evaluate sys.modules['selenium.webdriver'].firefox.webdriver.Options() sys, selenium.webdriver - Call Method ${firefox_options} add_argument strictFileInteractability ${FALSE} - Call Method ${firefox_options} add_argument timezone UTC-05:00 + Call Method ${firefox_options} set_preference strictFileInteractability ${FALSE} + Call Method ${firefox_options} set_preference timezone UTC-05:00 Run Keyword If ${HEADLESS} ... Call Method ${firefox_options} add_argument -headless