gstack/browse
Garry Tan 2aa745cb0e
feat: screenshot element/region clipping (v0.3.7) (#56)
* feat: screenshot element/region clipping (--clip, --viewport, CSS/@ref)

Add element crop (CSS selector or @ref), region clip (--clip x,y,w,h),
and viewport-only (--viewport) modes to the screenshot command. Uses
Playwright's native locator.screenshot() and page.screenshot({ clip }).
Full page remains the default. Includes 10 new tests covering all modes
and error paths.

* chore: bump version and changelog (v0.3.7)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: add screenshot modes to BROWSER.md command reference

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 12:47:42 -07:00
..
bin Merge remote-tracking branch 'origin/main' into v0.3.6-qa-upgrades 2026-03-14 02:35:48 -05:00
src feat: screenshot element/region clipping (v0.3.7) (#56) 2026-03-14 12:47:42 -07:00
test feat: screenshot element/region clipping (v0.3.7) (#56) 2026-03-14 12:47:42 -07:00
SKILL.md feat: screenshot element/region clipping (v0.3.7) (#56) 2026-03-14 12:47:42 -07:00
SKILL.md.tmpl fix: browse binary discovery broken for agents (v0.3.5) (#44) 2026-03-14 00:24:06 -07:00