High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
Fill
Set an input value directly without relying on the same event sequence as type.
curl -X POST http://localhost:9867/action \
-H "Content-Type: application/json" \
-d '{"kind":"fill","ref":"e8","text":"[email protected]"}'
# CLI Alternative
pinchtab fill e8 "[email protected]"
# Response (use --json for full JSON)
OK
CLI Flags
| Flag | Description |
|---|---|
--submit |
Press Enter after filling the field (submit:true in the action JSON) |
--snap |
Output interactive snapshot after fill |
--snap-diff |
Output snapshot diff after fill |
--text |
Output page text after fill |
--json |
Full JSON response |
--tab |
Target specific tab |
Examples
pinchtab fill e8 "[email protected]" # Fill by ref
pinchtab fill "#email" "[email protected]" # Fill by CSS
pinchtab fill "text:Email" "[email protected]" # Fill by text selector
pinchtab fill e8 "value" --snap # Fill and show snapshot
Notes
- Accepts unified selectors:
e8,#email,xpath://...,text:Email - Refs for iframe descendants can be filled directly without frame switch
- Selector lookup is limited to current frame scope (default:
main) - Use
/framebefore selector-based iframe fills - Missing selectors fail immediately; use
pinchtab waitfirst for async fields (seecommands.md) - For API, use
selectorfield for CSS/XPath/text selectors - The API reads
text, falling back tovalue. A fill with neither is refused with400 missing_fill_text; send"text":""to clear the field