Skip to content

Commit

Permalink
[rb] after 10 years, these are no longer @api beta
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Sep 24, 2021
1 parent d047b4d commit 2146a95
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
8 changes: 0 additions & 8 deletions rb/lib/selenium/webdriver/common/manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions rb/lib/selenium/webdriver/common/window.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion rb/spec/integration/selenium/webdriver/manager_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2146a95

Please sign in to comment.