From f383b929b97d4e1082baa29cd0524590baa2f6df Mon Sep 17 00:00:00 2001 From: Mykola Mokhnach Date: Thu, 8 Feb 2024 16:08:32 +0100 Subject: [PATCH] Restore W3C actions --- .../main/java/io/appium/uiautomator2/server/AppiumServlet.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/io/appium/uiautomator2/server/AppiumServlet.java b/app/src/main/java/io/appium/uiautomator2/server/AppiumServlet.java index 1cbf945bb..d5cf748eb 100644 --- a/app/src/main/java/io/appium/uiautomator2/server/AppiumServlet.java +++ b/app/src/main/java/io/appium/uiautomator2/server/AppiumServlet.java @@ -64,6 +64,7 @@ import io.appium.uiautomator2.handler.PressBack; import io.appium.uiautomator2.handler.PressKeyCode; import io.appium.uiautomator2.handler.ScheduleAction; +import io.appium.uiautomator2.handler.W3CActions; import io.appium.uiautomator2.handler.gestures.ScrollTo; import io.appium.uiautomator2.handler.gestures.ScrollToElement; import io.appium.uiautomator2.handler.SendKeysToElement; @@ -129,6 +130,7 @@ private void registerPostHandler() { register(postHandler, new SetClipboard("/session/:sessionId/appium/device/set_clipboard")); register(postHandler, new AcceptAlert("/session/:sessionId/alert/accept")); register(postHandler, new DismissAlert("/session/:sessionId/alert/dismiss")); + register(postHandler, new W3CActions("/session/:sessionId/actions")); register(postHandler, new io.appium.uiautomator2.handler.gestures.Drag("/session/:sessionId/appium/gestures/drag")); register(postHandler, new io.appium.uiautomator2.handler.gestures.Fling("/session/:sessionId/appium/gestures/fling"));