Skip to content

Commit 9e7e3c1

Browse files
committed
feat!: remove deprecated quit_driver
1 parent 0bd0bf4 commit 9e7e3c1

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

lib/appium_lib_core/driver.rb

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -498,20 +498,6 @@ def set_implicit_wait_by_default(wait)
498498
{}
499499
end
500500

501-
# [Deprecated] Quits the driver. This method is the same as @driver.quit
502-
# @return [void]
503-
#
504-
# @example
505-
#
506-
# @core.quit_driver
507-
#
508-
def quit_driver
509-
::Appium::Logger.warn('[DEPRECATION] quit_driver will be removed. Please use @driver.quit instead.')
510-
@driver.quit
511-
rescue # rubocop:disable Style/RescueStandardError
512-
nil
513-
end
514-
515501
# Returns the server's version info. This method calls +driver.remote_status+ internally
516502
#
517503
# @return [Hash]

sig/lib/appium_lib_core/driver.rbs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,6 @@ module Appium
160160

161161
def set_implicit_wait_by_default: (untyped wait) -> untyped
162162

163-
def quit_driver: () -> void
164-
165163
def appium_server_version: () -> Hash[String, String]
166164

167165
private

0 commit comments

Comments
 (0)