opencode: add note about coordinates and UI interaction
This commit is contained in:
@@ -125,6 +125,8 @@ in
|
|||||||
Typical Flow
|
Typical Flow
|
||||||
1. Take screenshot → analyze with explore agent (get rough layout)
|
1. Take screenshot → analyze with explore agent (get rough layout)
|
||||||
2. Dump UI hierarchy → grep for exact element bounds
|
2. Dump UI hierarchy → grep for exact element bounds
|
||||||
|
- NEVER ASSUME COORDINATES. You must ALWAYS check first.
|
||||||
|
- Do this before ANY tap action as elements on the screen may of changed.
|
||||||
3. Calculate center coordinates from bounds
|
3. Calculate center coordinates from bounds
|
||||||
4. Tap/interact
|
4. Tap/interact
|
||||||
5. Wait → screenshot → verify result
|
5. Wait → screenshot → verify result
|
||||||
|
|||||||
Reference in New Issue
Block a user