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
@@ -160,12 +160,16 @@ Navigation helpers:
160
160
Deep links:
161
161
-`open <url>` supports deep links with `scheme://...`.
162
162
- Android opens deep links via `VIEW` intent.
163
-
- iOS deep link open is simulator-only.
163
+
- iOS simulator opens deep links via `simctl openurl`.
164
+
- 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.
164
165
-`--activity` cannot be combined with URL opens.
165
166
166
167
```bash
167
168
agent-device open "myapp://home" --platform android
168
-
agent-device open "https://example.com" --platform ios
169
+
agent-device open "https://example.com" --platform ios # Safari on device, simctl on simulator
170
+
# iOS device custom scheme: open the app first, then deep link in the same session
171
+
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`.
195
195
- Use `--session <name>` for parallel sessions; avoid device contention.
196
196
- Use `--activity <component>` on Android to launch a specific activity (e.g. TV apps with LEANBACK); do not combine with URL opens.
197
-
- iOS deep-link opens are simulator-only.
197
+
- 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