First Command¶
A quick tutorial to get started with DOMGuard.
1. Start Chrome¶
Navigate to any website (e.g., https://example.com).
2. Check Connection¶
You should see:
3. Inspect the Page¶
View DOM Tree¶
View Accessibility Tree¶
This is especially useful for AI agents to understand page structure.
View Console Messages¶
4. Interact with the Page¶
Take a Screenshot¶
Saves to .domguard/screenshots/.
Click an Element¶
Type Text¶
Navigate¶
5. Use JSON Output¶
For programmatic use, add --json:
Next Steps¶
- Debug Mode - Full inspection capabilities
- Interact Mode - Browser control
- Commands Reference - All commands