From 2146a95291cd68bf1eeebf74d95776f576408d60 Mon Sep 17 00:00:00 2001 From: titusfortner Date: Thu, 23 Sep 2021 21:59:30 -0500 Subject: [PATCH] [rb] after 10 years, these are no longer @api beta --- rb/lib/selenium/webdriver/common/manager.rb | 8 -------- rb/lib/selenium/webdriver/common/window.rb | 4 ---- rb/spec/integration/selenium/webdriver/manager_spec.rb | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/rb/lib/selenium/webdriver/common/manager.rb b/rb/lib/selenium/webdriver/common/manager.rb index 62ae123c28e2a..11b8ee490bd9e 100644 --- a/rb/lib/selenium/webdriver/common/manager.rb +++ b/rb/lib/selenium/webdriver/common/manager.rb @@ -104,10 +104,6 @@ def timeouts @timeouts ||= Timeouts.new(@bridge) end - # - # @api beta This API may be changed or removed in a future release. - # - def logs WebDriver.logger.deprecate('Manager#logs', 'Chrome::Driver#logs') @logs ||= Logs.new(@bridge) @@ -135,10 +131,6 @@ def new_window(type = :tab) end end - # - # @api beta This API may be changed or removed in a future release. - # - def window @window ||= Window.new(@bridge) end diff --git a/rb/lib/selenium/webdriver/common/window.rb b/rb/lib/selenium/webdriver/common/window.rb index a673d8c61a7a7..b64dc04e06b25 100644 --- a/rb/lib/selenium/webdriver/common/window.rb +++ b/rb/lib/selenium/webdriver/common/window.rb @@ -19,10 +19,6 @@ module Selenium module WebDriver - # - # @api beta This API may be changed or removed in a future release. - # - class Window # # @api private diff --git a/rb/spec/integration/selenium/webdriver/manager_spec.rb b/rb/spec/integration/selenium/webdriver/manager_spec.rb index 9295332c5e140..764de64fef599 100644 --- a/rb/spec/integration/selenium/webdriver/manager_spec.rb +++ b/rb/spec/integration/selenium/webdriver/manager_spec.rb @@ -268,7 +268,7 @@ module WebDriver after { ensure_single_window } it "returns an exception if an invalid type is provided" do - expect { driver.manage.new_window }.to have_deprecated(:new_window) + expect { driver.manage.new_window }.to have_deprecated(:new_window) end end end # Options