Skip to main content
Deep links are URLs that navigate directly to a specific screen within a mobile app, bypassing the normal navigation flow. Instead of tapping through multiple screens to reach a destination, a deep link takes you straight there. The most common type is a URI scheme — a custom protocol registered by the app (e.g., myapp://products/12345). Spur primarily uses URI schemes.
  • Skip repetitive navigation — Jump straight to the screen you want to test instead of tapping through five screens to get there.
  • Isolate test scope — Test a specific feature without coupling to login and browsing flows.
  • Test deep link behavior — Verify that your app correctly handles incoming deep links.

How it works

In native mobile tests, add a deep link from Native Actions in the step type menu. Javascript Deeplink opens the link with a Javascript step, and Native Deeplink opens it with a native command.
To find your app’s URI scheme, ask your development team or check the app’s configuration files (Info.plist on iOS, AndroidManifest.xml on Android).

Example

A deep link step in the test editor

A deep link step in the test editor

This test deep links from the home screen directly to a product collection page:
The URI scheme myapp:// routes to the app, and the path collections/womens-shop-all tells it which screen to display. The step above is what Javascript Deeplink saves: a Cached Action that sets window.location to the deep link.
Always add a wait or verify step after a deep link to give the app time to load the target screen.

Best practices

  • Use the recommended starting template to handle login and popups before triggering the deep link.
  • Always verify the expected screen loaded after the deep link.
  • If a test starts failing after an app update, check whether the URI scheme or path has changed.