This directory contains tools for testing browser control actions:
browser-control.js
- Socket.IO client for browser automationindex.html
- Visual test page for browser actions
- Start local server:
python3 -m http.server 8000
- Visit
http://localhost:8000
The browser-control.js
provides:
// Click at coordinates
browserActions.click(x, y);
// Type text
browserActions.type('text');
// Scroll page
browserActions.scroll('up' | 'down');
Connects to Socket.IO server at localhost:3001
and provides real-time browser control through WebSocket communication.
- Canvas: Shows click positions with coordinates
- Text Input: Tests keyboard input
- Actions Log: Displays all interactions
- Click coordinates
- Typed text
- Scroll events