{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Tap(x, y)","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"tapx-y","__idx":0},"children":["Tap(x, y)"]},{"$$mdtype":"Tag","name":"iframe","attributes":{"width":"100%","style":{"aspectRatio":"16 / 9"},"src":"https://www.youtube.com/embed/_ZqNGFrAOMk?start=75","title":"YouTube video player","frameBorder":"0","allow":"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowFullScreen":""},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["RPA provides 3 ways to simulate clicking:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/rparobotic-process-automation/03-node/01-simulation-operations/04-tap-element"},"children":["Tap Element"]},": Locate and click the current element through the DOM elements of the UI tree."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/rparobotic-process-automation/03-node/01-simulation-operations/05-tap-x-y"},"children":["Tap(x, y)"]},": Locate the click position through the X and Y axis coordinates of the current screen."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/rparobotic-process-automation/03-node/01-simulation-operations/06-click-via-ocr"},"children":["Click via text recognition (OCR)"]},": Click by recognizing the text position on the current screen."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The following details the Tap(x, y) function."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"parameters","__idx":1},"children":["Parameters"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Coordinates]"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["X (Number)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Y (Number)"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can get X and Y coordinate values in the cloud phone via the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/rparobotic-process-automation/02-using-rpa/04-developer-tools"},"children":["developer tools"]},"."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Coordinate Random Offset]"]}," (Number)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Default is 0. When an offset value is set, the click position will be randomly offset up, down, left, or right within the offset range each time."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For example, if X: 50, Y: 100 is set, and the random coordinate offset is 10, then the range for X is 40px–60px, and the range for Y is 90px–110px."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Tap Type]"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Single Tap"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Double Tap"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Long Press",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["When Long Press is selected, you can set ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Press Duration]"]}," in milliseconds."]}]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Delay After Tap]"]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"output","__idx":2},"children":["Output"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output Parameters"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["None"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Execution Log"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Start Time"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["End Time"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Duration (ms)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Status (Success/Failure)"]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"example","__idx":3},"children":["Example"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For example, on the cloud phone desktop, there is a Google Play Store. Through the developer tools, the center point coordinates are found to be (X: 927, Y: 1326). Parameters are as follows:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"key"},"children":["key"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Explanation"},"children":["Explanation"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Coordinates"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["X: \"927\", Y: \"1326\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Coordinate Random Offset"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["0"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tap Type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Single Tap"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delay After Tap"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["0"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"related-nodes","__idx":4},"children":["Related Nodes"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/rparobotic-process-automation/03-node/01-simulation-operations/07-swipe-page"},"children":["Swipe Page"]}]}]},"headings":[{"value":"Tap(x, y)","id":"tapx-y","depth":1},{"value":"Parameters","id":"parameters","depth":2},{"value":"Output","id":"output","depth":2},{"value":"Example","id":"example","depth":2},{"value":"Related Nodes","id":"related-nodes","depth":2}],"frontmatter":{"seo":{"title":"Tap(x, y)"}},"lastModified":"2026-06-04T03:55:58.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/rparobotic-process-automation/03-node/01-simulation-operations/05-tap-x-y","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}