Skip to content

Commit ba7013b

Browse files
committed
docs: clarify exploration loops are examples
1 parent 57eca7e commit ba7013b

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

skills/agent-device/references/exploration.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ Open this file when the app or screen is already running and you need to discove
3737

3838
Do not treat `@ref` values as durable after navigation or dynamic updates. Re-snapshot after the UI changes, and switch to selectors when the flow must stay stable.
3939

40-
## Common loops
40+
## Common example loops
41+
42+
These are examples, not required exact sequences. Adapt them to the app, state, and task at hand.
4143

4244
### Interactive exploration loop
4345

@@ -53,11 +55,10 @@ agent-device close
5355
### Screen verification loop
5456

5557
```bash
56-
agent-device open Settings --platform ios
57-
agent-device snapshot -i
58-
agent-device press @e3
59-
agent-device diff snapshot
58+
agent-device open MyApp --platform ios
59+
# perform the necessary actions to reach the state you need to verify
6060
agent-device snapshot
61+
# verify whether the expected element or text is present
6162
agent-device close
6263
```
6364

0 commit comments

Comments
 (0)