lib/capybara/selenium/logger_suppressor.rb in capybara-3.37.1 vs lib/capybara/selenium/logger_suppressor.rb in capybara-3.38.0

- old
+ new

@@ -16,9 +16,13 @@ else super end end + def warn(*args, **opts) + super unless @suppress_for_capybara + end + def suppress_deprecations prev_suppress_for_capybara, @suppress_for_capybara = @suppress_for_capybara, true yield ensure @suppress_for_capybara = prev_suppress_for_capybara