Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement all required w3c endpoints #4

Open
15 of 46 tasks
sudharsan-selvaraj opened this issue May 31, 2024 · 0 comments
Open
15 of 46 tasks

Implement all required w3c endpoints #4

sudharsan-selvaraj opened this issue May 31, 2024 · 0 comments

Comments

@sudharsan-selvaraj
Copy link
Member

sudharsan-selvaraj commented May 31, 2024

Below endpoints are extracted from UI Automator 2 sever - https://github.com/appium/appium-uiautomator2-server/blob/master/app/src/main/java/io/appium/uiautomator2/server/AppiumServlet.java

  • POST - NewSession("/session")
  • POST - FindElement("/session/:sessionId/element")
  • POST - FindElements("/session/:sessionId/elements")
  • POST - Click("/session/:sessionId/element/:id/click")
  • POST - Clear("/session/:sessionId/element/:id/clear")
  • POST - PressBack("/session/:sessionId/back")
  • POST - SendKeysToElement("/session/:sessionId/element/:id/value")
  • POST - new SendKeysToElement("/session/:sessionId/keys")
  • GET - Status("/status")
  • GET - GetSessions("/sessions")
  • GET - GetSessionDetails("/session/:sessionId")
  • GET - GetText("/session/:sessionId/element/:id/text")
  • GET - GetElementAttribute("/session/:sessionId/element/:id/attribute/:name")
  • GET - GetRect("/session/:sessionId/element/:id/rect")
  • GET - GetSize("/session/:sessionId/element/:id/size")
  • GET - GetName("/session/:sessionId/element/:id/name")
  • DELETE - DeleteSession("/session/:sessionId")

Gesture Enpoints

  • POST - Drag("/session/:sessionId/appium/gestures/drag")
  • POST - Fling("/session/:sessionId/appium/gestures/fling")
  • POST - Click("/session/:sessionId/appium/gestures/click")
  • POST -LongClick("/session/:sessionId/appium/gestures/long_click")
  • POST - DoubleClick("/session/:sessionId/appium/gestures/double_click")
  • POST - PinchClose("/session/:sessionId/appium/gestures/pinch_close")
  • POST - PinchOpen("/session/:sessionId/appium/gestures/pinch_open"))
  • POST - Scroll("/session/:sessionId/appium/gestures/scroll")
  • POST - ScrollTo("/session/:sessionId/gestures/scroll_to")
  • POST - new ScrollToElement("/session/:sessionId/appium/element/:id/scroll_to/:id2")
  • POST - Swipe("/session/:sessionId/appium/gestures/swipe")

Do we need to implement below endpoints?

  • POST - register(postHandler, new OpenNotification("/session/:sessionId/appium/device/open_notifications"));
  • POST - register(postHandler, new PressKeyCode("/session/:sessionId/appium/device/press_keycode"));
  • POST - register(postHandler, new LongPressKeyCode("/session/:sessionId/appium/device/long_press_keycode"));
  • POST - register(postHandler, new UpdateSettings("/session/:sessionId/appium/settings"));
  • POST - register(postHandler, new NetworkConnection("/session/:sessionId/network_connection"));
  • POST - register(postHandler, new GetClipboard("/session/:sessionId/appium/device/get_clipboard"));
  • POST -egister(postHandler, new SetClipboard("/session/:sessionId/appium/device/set_clipboard"));
  • POST - register(postHandler, new AcceptAlert("/session/:sessionId/alert/accept"));
  • POST - register(postHandler, new DismissAlert("/session/:sessionId/alert/dismiss"));
  • POST - register(postHandler, new W3CActions("/session/:sessionId/actions"));
  • POST - register(postHandler, new SetOrientation("/session/:sessionId/orientation"));
  • POST - register(postHandler, new SetRotation("/session/:sessionId/rotation"));
  • GET - GetPackages("/appium/device/apps")
  • GET - GetPackages("/session/:sessionId/appium/device/apps")
  • GET - CaptureScreenshot("/session/:sessionId/screenshot")
  • GET - GetOrientation("/session/:sessionId/orientation")
  • GET - GetRotation("/session/:sessionId/rotation")
  • GET - ActiveElement("/session/:sessionId/element/active")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant