From 210ea0547ea6b5d645a0b02f7a7c6496734a1ff0 Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Sun, 8 Dec 2024 11:29:22 -0800 Subject: [PATCH] feat!: remove deprecated quit_driver (#579) --- lib/appium_lib_core/driver.rb | 14 -------------- sig/lib/appium_lib_core/driver.rbs | 2 -- 2 files changed, 16 deletions(-) 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