Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Selenium deprecation warnings on headless/opts (#2319)
Our configuration was causing this: ``` 2023-01-27 15:35:01 WARN Selenium [:logger_info] Details on how to use and modify Selenium logger: https://selenium.dev/documentation/webdriver/troubleshooting/logging#ruby 2023-01-27 15:35:01 WARN Selenium [DEPRECATION] [:headless] `Options#headless!` is deprecated. Use `Options#add_argument('--headless=new')` instead. 2023-01-27 15:35:01 WARN Selenium [DEPRECATION] [:capabilities] The :capabilities parameter for Selenium::WebDriver::Chrome::Driver is deprecated. Use :options argument with an instance of Selenium::WebDriver::Chrome::Driver instead. ```
- Loading branch information