5 Commits

Author SHA1 Message Date
0927c85ec0 feat: enhance coordinate-based vision tools with advanced mouse interactions
Phase 3 implementation adds sophisticated mouse automation capabilities:

Enhanced Tools:
- mouseMove: precision control (pixel/subpixel), timing delays
- mouseClick: multi-button support, click counts (1-3), hold times
- mouseDrag: advanced patterns (direct/smooth/bezier), configurable steps/duration

New Tools:
- mouseScroll: directional scrolling with smooth animation
- mouseGesture: complex multi-point gestures with per-point actions

Technical Features:
- Subpixel coordinate precision for high-accuracy positioning
- Mathematical interpolation (smoothstep, bezier curves)
- Intelligent smooth scrolling with automatic step calculation
- Comprehensive schema validation with sensible parameter limits
- Clean Playwright code generation with precision-aware formatting

All tools pass comprehensive testing with proper error handling,
capability gating (vision), and production-ready implementation quality.
2025-09-14 13:52:45 -06:00
Pavel Feldman
6320b08173
chore: follow up on tab snapshot capture (#739) 2025-07-22 17:43:42 -07:00
Pavel Feldman
601a74305c
chore: introduce response type (#738) 2025-07-22 16:36:21 -07:00
Pavel Feldman
468c84eb8f
chore: move state to tab, do not cache snapshot (#730) 2025-07-22 07:53:33 -07:00
Pavel Feldman
d61aa16fee
chore: turn vision into capability (#679)
Fixes https://github.com/microsoft/playwright-mcp/issues/420
2025-07-16 16:40:00 -07:00