Skip to content

Add full-page screenshot support #39

@justrach

Description

@justrach

Feature

agent-browser supports screenshot --full for full scrollable page capture.

Implementation

Use CDP Page.captureScreenshot with captureBeyondViewport: true or use Page.getLayoutMetrics to set viewport to full content height first.

Add query param: /screenshot?tab_id=&full=true

Acceptance Criteria

  • /screenshot?tab_id=&full=true returns a full-page PNG
  • Default behavior unchanged (viewport-only)

Co-authored-by: blackfloofie 265516171+blackfloofie@users.noreply.github.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    blackfloofieCo-author: 265516171+blackfloofie@users.noreply.github.comenhancementNew feature or requestpriority:p2Medium prioritystatus:doneWork item is complete

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions