From 855e48dae329e3baa2436609e644b0e621e040c5 Mon Sep 17 00:00:00 2001 From: Alex Rodionov Date: Thu, 30 Nov 2017 09:16:05 +0600 Subject: [PATCH] Remove deprecated Selenium::WebDriver::Remote::W3CCapabilities It has been designed to be a private API. Use Selenium::WebDriver::Remote::Capabilities instead. --- rb/lib/selenium/webdriver/remote/w3c/capabilities.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/rb/lib/selenium/webdriver/remote/w3c/capabilities.rb b/rb/lib/selenium/webdriver/remote/w3c/capabilities.rb index 17e15284175fe..18719cf1deeea 100755 --- a/rb/lib/selenium/webdriver/remote/w3c/capabilities.rb +++ b/rb/lib/selenium/webdriver/remote/w3c/capabilities.rb @@ -18,12 +18,6 @@ module Selenium module WebDriver module Remote - def self.const_missing(const_name) - super unless const_name == :W3CCapabilities - WebDriver.logger.deprecate 'Selenium::WebDriver::Remote::W3CCapabilities', 'Selenium::WebDriver::Remote::Capabilities' - W3C::Capabilities - end - module W3C #