Fix selenium-webdrivercapabilities deprecation warning. In the CI at the moment at we have the following log:
Randomized with seed 31709
........................2023-08-27 21:24:50 WARN Selenium [:capabilities] [DEPRECATION] The :capabilities parameter for Selenium::WebDriver::Chrome::Driver is deprecated. Use :options argument with an instance of Selenium::WebDriver::Chrome::Driver instead.
................................................................................................*...................................................................................................................................................
Fix
selenium-webdriver
capabilities
deprecation warning. In the CI at the moment at we have the following log:This should fix this warning.