- Fix handler to use PlaywrightProvider instead of old Provider
- Add model selection for Gemini Web (fast/thinking/pro)
- Improve response extraction to remove 'Gemini said' prefix
- Add progress logging for headless mode
- Fix navigation to use Domcontentloaded instead of Networkidle
- Add proper input field selectors (.ql-editor)
- Improve response completion detection with stability check
Major refactor using Playwright (pure Go):
- Add playwright-go dependency (v0.5700.1)
- Create PlaywrightProvider with auto-wait for elements
- Use LaunchPersistentContext for session persistence
- Implement Locator-based element finding (auto-wait)
- Fill input using Playwright's built-in methods
- Add fallback selectors for input fields
- Better error messages with page URL and title
Key improvements over Rod:
- Auto-wait for elements (solves 'input field not found')
- More mature browser automation library
- Better documentation and examples
- Based on project-golem's proven strategies
Installation:
- Playwright driver and Chromium downloaded to ~/Library/Caches/ms-playwright/
- ~160MB download (one-time setup)