feat: add MouseDown/MouseUp to InteractiveBrowser #80

Merged
Claude merged 1 commits from feature/79-mouse-down-up into main 2026-02-28 15:35:56 +00:00
Collaborator

Summary

  • Adds MouseDown(x, y, button) and MouseUp(x, y, button) methods to the InteractiveBrowser interface
  • Implements them on interactiveBrowser using Playwright's Mouse().Down() / Mouse().Up() with a preceding Mouse().Move() to the target coordinates
  • Updates the mock in promote_test.go to satisfy the expanded interface

Closes #79

Test plan

  • go build ./... passes
  • go test ./... passes (all 24 packages)
  • Manual verification with a slider captcha via mort's browser proxy once upstream changes land

🤖 Generated with Claude Code

## Summary - Adds `MouseDown(x, y, button)` and `MouseUp(x, y, button)` methods to the `InteractiveBrowser` interface - Implements them on `interactiveBrowser` using Playwright's `Mouse().Down()` / `Mouse().Up()` with a preceding `Mouse().Move()` to the target coordinates - Updates the mock in `promote_test.go` to satisfy the expanded interface Closes #79 ## Test plan - [x] `go build ./...` passes - [x] `go test ./...` passes (all 24 packages) - [ ] Manual verification with a slider captcha via mort's browser proxy once upstream changes land 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Claude added 1 commit 2026-02-28 15:35:51 +00:00
feat: add MouseDown/MouseUp methods to InteractiveBrowser
All checks were successful
CI / test (pull_request) Successful in 1m11s
CI / vet (pull_request) Successful in 1m28s
CI / build (pull_request) Successful in 1m30s
00ff7ea830
Enables drag operations (mousedown → mousemove → mouseup) needed for
slider captchas and other drag-based interactions.

Closes #79

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude merged commit 035151d9fa into main 2026-02-28 15:35:56 +00:00
Claude deleted branch feature/79-mouse-down-up 2026-02-28 15:35:56 +00:00
Sign in to join this conversation.