v0.4.7
Release v0.4.7
Added
- Add a screenshot MCP tool that captures a page and returns it as an ImageContent block, supporting PNG and JPEG, full-page captures, JPEG quality, and readiness controls
- Add a custom session_id parameter to open_session to allow naming sessions meaningfully instead of random hex identifiers
Fixed
- Fix FetcherSession state corruption and lazy session close crash
- Fix TypeError when using the CLI's --ai-targeted flag with HTTP commands due to unexpected block_ads keyword argument
A focused update bringing eyes to your AI agents 📸
🚀 New Stuff and quality of life changes
- Added a
screenshotMCP tool that captures a page and returns it as a real MCPImageContentblock so the model can actually see it. The tool requires an open browser session, so you callopen_sessionfirst (eitherdynamicorstealthy) and pass thesession_idhere. Supports PNG and JPEG, full-page captures, JPEG quality, and the usual readiness controls (wait,wait_selector,network_idle,timeout). (implements #244) - Added a custom
session_idparameter toopen_sessionso you can name sessions meaningfully ("search","checkout") instead of the random 12-character hex default. By @hauntedhost in #243
🐛 Bug Fixes
- Fixed
FetcherSessionstate corruption and a lazy session close crash. By @yetval in #245 - Fixed
TypeError: Session.request() got an unexpected keyword argument 'block_ads'when using the CLI's--ai-targetedflag with HTTP commands. By @voidborne-d in #249 (Fixes #247)
Translations
- Added a Brazilian Portuguese README translation By @rgomids in #250
🙏 Special thanks to the community for all the continuous testing and feedback