feat(browser): support local-only screenshots
Closed
MA
4mo ago+39+39+01234567890123456789-9-9-0123456789
Summary
- add
attachToContext?: falsetoPage.captureScreenshotcalls insidebrowser_execute - continue returning screenshot bytes to the snippet while excluding opted-out screenshots from model attachments
- document the opt-out in the browser tool description
Test plan
- full
browser-execute.test.tsagainst local headless Chrome: 8 passed bun typecheckfrompackages/bcode-browser- repository pre-push typecheck (16 packages)