You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,12 +159,16 @@ Navigation helpers:
159
159
Deep links:
160
160
-`open <url>` supports deep links with `scheme://...`.
161
161
- Android opens deep links via `VIEW` intent.
162
-
- iOS deep link open is simulator-only.
162
+
- iOS simulator opens deep links via `simctl openurl`.
163
+
- iOS device opens deep links via `devicectl --payload-url`. For `http(s)://` URLs, Safari is used automatically if no app is active in the session. Custom scheme URLs (`myapp://`) require an active app.
163
164
-`--activity` cannot be combined with URL opens.
164
165
165
166
```bash
166
167
agent-device open "myapp://home" --platform android
167
-
agent-device open "https://example.com" --platform ios
168
+
agent-device open "https://example.com" --platform ios # Safari on device, simctl on simulator
169
+
# iOS device custom scheme: open the app first, then deep link in the same session
170
+
agent-device open com.example.app --session dev --platform ios --device "iPhone"
- If AX returns the Simulator window or empty tree, restart Simulator or use `--backend xctest`.
191
191
- Use `--session <name>` for parallel sessions; avoid device contention.
192
192
- Use `--activity <component>` on Android to launch a specific activity (e.g. TV apps with LEANBACK); do not combine with URL opens.
193
-
- iOS deep-link opens are simulator-only.
193
+
- iOS deep-link opens work on simulators and devices. On devices, `http(s)://` URLs fall back to Safari automatically; custom scheme URLs require an active app in the session.
Copy file name to clipboardExpand all lines: website/docs/docs/commands.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ agent-device app-switcher
23
23
-`boot` requires either an active session or an explicit device selector.
24
24
-`boot` is mainly needed when starting a new session and `open` fails because no booted simulator/emulator is available.
25
25
-`open [app]` already boots/activates the selected target when needed.
26
-
-`open <url>` deep links are supported on Android; iOS deep-link open is simulator-only.
26
+
-`open <url>` deep links are supported on Android and iOS. On iOS devices, `http(s)://` URLs fall back to Safari automatically; custom scheme URLs require an active app in the session.
0 commit comments