myapp://cart, https://example.com/invite. mobster links lists the ones your project has and opens each on a simulator to see where it lands. A check’s steps can then say open cart instead of the address.
List your app’s links
Mobster merges four sources and lists each address once. Names ignore case, and URL paths and query strings keep theirs. An ambiguous name refuses the run:myapp://) opens the app and no screen in it, so there is no title to compare. --json prints the same list, with screen: false for those.
Write your own in .mobster/links.yaml:
name: address also works for a link with no title. Mobster never opens javascript:, data:, file: and itms-services: links, and check never opens a link that acts as it opens, such as a call or a shortcut.
Mobster learns only custom schemes, never web pages, and keeps the newest 50.
Check that each link lands
mobster test’s: the reports, JUnit and the failure’s frame are in .mobster/test-results/, and results.json has the landing screen’s title in screen.title. The exit code is 0 when every link landed, 1 when one didn’t and 3 when Mobster couldn’t run.
- A link with no title opens in your app, and the run reports “needs review” with the landing screen’s title. Add that title to
links.yamlto make it a pass or fail. - Mobster reads the app’s bundle ID from the Expo config or the Xcode project. Pass
--bundle com.example.app, or--app PATHto install a built.app. --deviceruns it on an iPhone, as it does formobster test.
Open a link by name in a step
open <name>, open link <name> or open the deep link <name> for a link in the list becomes Open the link myapp://cart when the run starts. A name that isn’t in the list stays as written. Mobster reads links.yaml, the Xcode project, app.json and the learned links for this, and runs no Node.
Manage links over the API
The GET route reads static files only, so it skips
app.config.js and app.config.ts. mobster links list reads those through the Expo CLI.
Saving rewrites links.yaml as the links: list, so a comment in the file is lost. Writers take .mobster/.links.lock, an empty file to keep out of git. No route opens a link on a simulator: mobster links check does, and so does Check links on a project’s page (POST /api/projects/{id}/runs with {links: true}).
last is the link’s newest check, {status, device, at}, from the project’s history, or null when it was never checked.
Open a link before tapping
WithMOBSTER_EXPERIMENTAL_INTENTS=1, Mobster reads the links the apps on a simulator declare, and opens a link instead of tapping its way there.
- The atlas.
mobster intents harvestreads each app’sCFBundleURLTypes(schemes) andapplinks:domains throughsimctl, fetches each domain’sapple-app-site-associationover https, and keeps the result underlink-atlas/in the Mobster data folder.--no-networkskips the fetch, and--forcereads again within a day. A domain that doesn’t answer is logged and skipped. A check on a simulator refreshes the atlas in the background once the simulator is ready.harvestreads simulators only. - Discovered, not verified. The atlas ranks below the list above. Only a link opened on a real iPhone counts as
verified. - Link first. When a check’s request names exactly one installed app, its first turn opens that app’s link instead of asking the model for the first action. The link goes through the same rule as any other: another app’s link asks once per app,
tel:,sms:,mailto:and running or importing a shortcut ask every time, andjavascript:,data:,file:anditms-services:links are never opened. A request that names no app, or two, or an app that isn’t installed, goes to the model as usual. Links marked best effort aren’t taken first. - In the reports.
results.json, the JUnit propertieslinkFirstStepsandmodelCallsSaved, the HTML report andmobster test’s summary count the link-first steps and the model calls they saved. - Shortcuts.
shortcuts://x-callback-url/run-shortcut?name=…runs a shortcut you made, and asks first.