diff --git a/lib/appium_lib_core/driver.rb b/lib/appium_lib_core/driver.rb index 90fda3a1..54a95bb9 100644 --- a/lib/appium_lib_core/driver.rb +++ b/lib/appium_lib_core/driver.rb @@ -492,20 +492,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] diff --git a/sig/lib/appium_lib_core/driver.rbs b/sig/lib/appium_lib_core/driver.rbs index 18601693..803816bb 100644 --- a/sig/lib/appium_lib_core/driver.rbs +++ b/sig/lib/appium_lib_core/driver.rbs @@ -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