This commit is contained in:
Chris Tate
2026-01-12 01:13:56 -06:00
parent 3739ebca2d
commit 36ad3ac66e
2 changed files with 86 additions and 1 deletions
+6
View File
@@ -131,8 +131,14 @@ agent-browser find nth 2 "a" text
```bash
agent-browser wait <selector> # Wait for element to be visible
agent-browser wait <ms> # Wait for time (milliseconds)
agent-browser wait --text "Welcome" # Wait for text to appear
agent-browser wait --url "**/dash" # Wait for URL pattern
agent-browser wait --load networkidle # Wait for load state
agent-browser wait --fn "window.ready === true" # Wait for JS condition
```
**Load states:** `load`, `domcontentloaded`, `networkidle`
### Mouse Control
```bash