Upgrade Selenium to version 4
Further reduces number of deprecated dependencies and number of warnings in frontend tests.
Changelog for Selenium 4 Migration
Version and Dependency Updates
- chore (3449e9e3): Updated Selenium to version 4.
- build (b115e14): Reverted to using the gecko image from the python-geckodriver repository. Updated the geckodriver version in the CI environment to support Selenium 4.
WebDriver and Configuration Adjustments
-
fix (35b39323): Adjusted the method of creating the Firefox WebDriver in
util.py
to align with Selenium 4. - fix (58e0315b): Updated various configuration options for compatibility with Selenium 4.
Code Refactoring and Optimization
-
fix (072fdaa0): Replaced all deprecated
find_element_by_x
andfind_elements_by_x
methods withfind_element(s)(By.x)
as per Selenium 4 requirements.