Mobile Action | Leapwork Docs

The Mobile Action block performs a gesture on a captured mobile element, such as tap, swipe, spread, or pinch. It is useful when you want to interact with a specific element in the app rather than using screen coordinates.

You can also hold the element (press-and-hold) when performing a tap action.

When fully expanded, the Mobile Action block lists the below properties:

Note: The screenshot on this page uses the Elegance Design, introduced in 2025.3. If you are using an earlier version, your layout may look different.

Quick-start

  1. Drag Mobile Action onto the canvas.
  2. Connect the block in the flow and specify Select Mobile Element to do action on, Method, and any action-specific settings such as Count and Hold. Optionally adjust Default timeout, Timeout (sec), and Scroll to find.
  3. Run the flow when it’s ready.

Building block parameters

Parameters

Note: All cases have a “global timeout” that can be configured in the Settings panel. This is unrelated to the timeout of a single building block. However, a running case will automatically be cancelled if it runs for longer than the global timeout.

Resources

Topic Description
Mobile connections Overview of what’s needed to enable mobile automation
Mobile configuration Steps to configure devices and environments for testing
Mobile FAQs Frequently asked questions about mobile automation and troubleshooting