This page is not yet translated, currently displaying the English original.

Tap x y

RPA provides 3 ways to simulate clicking:

  1. Tap Element: Locate and click the current element through the DOM elements of the UI tree.
  2. Tap(x, y): Locate the click position through the X and Y axis coordinates of the current screen.
  3. Click via text recognition (OCR): Click by recognizing the text position on the current screen.

The following details the Tap(x, y) function.

Parameters

  • [Coordinates]

    • X (Number)
    • Y (Number)

    You can get X and Y coordinate values in the cloud phone via the developer tools.

  • [Coordinate Random Offset] (Number)

    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.

    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.

  • [Tap Type]

    • Single Tap
    • Double Tap
    • Long Press
      • When Long Press is selected, you can set [Press Duration] in milliseconds.
  • [Delay After Tap]

Output

  • Output Parameters

    • None
  • Execution Log

    • Start Time
    • End Time
    • Duration (ms)
    • Status (Success/Failure)

Example

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:

keyExplanation
CoordinatesX: "927", Y: "1326"
Coordinate Random Offset0
Tap TypeSingle Tap
Delay After Tap0

Swipe Page