Skip to content

Commit

Permalink
Restore W3C actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Feb 8, 2024
1 parent 7d4691f commit f383b92
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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"));
Expand Down

0 comments on commit f383b92

Please sign in to comment.