oesmith / puffing-billy

A rewriting web proxy for testing interactions between your browser and external sites. Works with ruby + rspec.
MIT License
659 stars 170 forks source link

Use :options argument instead of :capabilities #338

Closed gustavosobral closed 1 year ago

gustavosobral commented 1 year ago

Fix selenium-webdriver capabilities 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. 
................................................................................................*...................................................................................................................................................

This should fix this warning.

ronwsmith commented 1 year ago

Released in v4.0.0