sajad torkamani

This annoying warning:

2021-11-21 15:58:23 WARN Selenium [DEPRECATION] [:browser_options] :options as a parameter for driver initialization is deprecated. Use :capabilities with an Array of value capabilities/options if necessary instead.

can be suppressed by adding the following to your rails_helper.rb:

Selenium::WebDriver.logger.ignore(:browser_options)

Sources

Leave a comment

Your email address will not be published. Required fields are marked *