-
Notifications
You must be signed in to change notification settings - Fork 18
Add full-page screenshot support #39
Copy link
Copy link
Closed
Labels
blackfloofieCo-author: 265516171+blackfloofie@users.noreply.github.comCo-author: 265516171+blackfloofie@users.noreply.github.comenhancementNew feature or requestNew feature or requestpriority:p2Medium priorityMedium prioritystatus:doneWork item is completeWork item is complete
Metadata
Metadata
Assignees
Labels
blackfloofieCo-author: 265516171+blackfloofie@users.noreply.github.comCo-author: 265516171+blackfloofie@users.noreply.github.comenhancementNew feature or requestNew feature or requestpriority:p2Medium priorityMedium prioritystatus:doneWork item is completeWork item is complete
Feature
agent-browser supports
screenshot --fullfor full scrollable page capture.Implementation
Use CDP
Page.captureScreenshotwithcaptureBeyondViewport: trueor usePage.getLayoutMetricsto set viewport to full content height first.Add query param:
/screenshot?tab_id=&full=trueAcceptance Criteria
/screenshot?tab_id=&full=truereturns a full-page PNGCo-authored-by: blackfloofie 265516171+blackfloofie@users.noreply.github.com