Skip to content

Commit 210ea05

Browse files
authored
feat!: remove deprecated quit_driver (#579)
1 parent 3c7a96a commit 210ea05

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
@@ -492,20 +492,6 @@ def set_implicit_wait_by_default(wait)
492492
{}
493493
end
494494

495-
# [Deprecated] Quits the driver. This method is the same as @driver.quit
496-
# @return [void]
497-
#
498-
# @example
499-
#
500-
# @core.quit_driver
501-
#
502-
def quit_driver
503-
::Appium::Logger.warn('[DEPRECATION] quit_driver will be removed. Please use @driver.quit instead.')
504-
@driver.quit
505-
rescue # rubocop:disable Style/RescueStandardError
506-
nil
507-
end
508-
509495
# Returns the server's version info. This method calls +driver.remote_status+ internally
510496
#
511497
# @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)