From b4ac9ca79a2b479307365731d1f5a04ba1e16857 Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Sun, 1 Jun 2025 22:34:24 -0700 Subject: [PATCH] chore: remove unused commands --- appium/webdriver/mobilecommand.py | 3 --- appium/webdriver/webdriver.py | 4 ---- 2 files changed, 7 deletions(-) diff --git a/appium/webdriver/mobilecommand.py b/appium/webdriver/mobilecommand.py index e1648242e..79ac25e1b 100644 --- a/appium/webdriver/mobilecommand.py +++ b/appium/webdriver/mobilecommand.py @@ -30,9 +30,6 @@ class MobileCommand: GET_CURRENT_CONTEXT = 'getCurrentContext' SWITCH_TO_CONTEXT = 'switchToContext' - TOUCH_ACTION = 'touchAction' - MULTI_ACTION = 'multiAction' - BACKGROUND = 'background' GET_APP_STRINGS = 'getAppStrings' diff --git a/appium/webdriver/webdriver.py b/appium/webdriver/webdriver.py index 86d6c2232..e54593359 100644 --- a/appium/webdriver/webdriver.py +++ b/appium/webdriver/webdriver.py @@ -479,10 +479,6 @@ def _add_commands(self) -> None: self.command_executor.add_command(Command.GET_STATUS, 'GET', '/status') - # FIXME: remove after a while as MJSONWP - self.command_executor.add_command(Command.TOUCH_ACTION, 'POST', '/session/$sessionId/touch/perform') - self.command_executor.add_command(Command.MULTI_ACTION, 'POST', '/session/$sessionId/touch/multi/perform') - # TODO Move commands for element to webelement self.command_executor.add_command(Command.CLEAR, 'POST', '/session/$sessionId/element/$id/clear') self.command_executor.add_command(