Skip to content

Commit

Permalink
feat!: remove deprecated quit_driver
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Dec 8, 2024
1 parent 0bd0bf4 commit 9e7e3c1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
14 changes: 0 additions & 14 deletions lib/appium_lib_core/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -498,20 +498,6 @@ def set_implicit_wait_by_default(wait)
{}
end

# [Deprecated] Quits the driver. This method is the same as @driver.quit
# @return [void]
#
# @example
#
# @core.quit_driver
#
def quit_driver
::Appium::Logger.warn('[DEPRECATION] quit_driver will be removed. Please use @driver.quit instead.')
@driver.quit
rescue # rubocop:disable Style/RescueStandardError
nil
end

# Returns the server's version info. This method calls +driver.remote_status+ internally
#
# @return [Hash]
Expand Down
2 changes: 0 additions & 2 deletions sig/lib/appium_lib_core/driver.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,6 @@ module Appium

def set_implicit_wait_by_default: (untyped wait) -> untyped

def quit_driver: () -> void

def appium_server_version: () -> Hash[String, String]

private
Expand Down

0 comments on commit 9e7e3c1

Please sign in to comment.