Skip to content

Save browser screenshots at their original resolution - #1994

Merged
currentbits merged 1 commit into
mainfrom
coder/save-full-resolution-browser-screenshots-b31967
Nov 11, 2026
Merged

currentbits merged 1 commit into
mainfrom
coder/save-full-resolution-browser-screenshots-b31967

Conversation

@currentbits

Copy link
Copy Markdown
Owner

The Browser pane can save the latest screenshot at the size it was captured. The image the agent receives stays bounded at 1600px.

Fixes #1940

Changes

  • A save button next to Add screenshot downloads screenshot-<width>x<height>.png of the latest capture.
  • That original stays in memory for the thread only, until the next screenshot, 10 minutes, or the pane closes.
  • A remote device can read it under the same permission as the existing screenshot. The agent tool is unchanged.

Verification

  • electron/test/preview.test.js: 19/19, including a 3200×2000 capture that stays 1600×1000 for the agent, expiry after 10 minutes, and pane close.
  • test/browserPane.test.tsx: 12/12, including the download name and the "nothing to save" message.
  • IPC seam tests, web scope tests, and npm run typecheck pass.
  • Not verified: the Save dialog in the running app.

Notes for reviewers

The original is the uncompressed capture, held one per open thread. It is not added to the screenshot result the agent sees.


Created with Grok 4.7 in Solenta.

The Browser pane can download the latest capture at the size it was
taken. The image sent to the agent stays bounded at 1600px. The
original is kept in memory for that thread only, until the next
screenshot, 10 minutes, or the pane closes.

Fixes #1940
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T09:43:01.034458Z 85fda9a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@currentbits
currentbits merged commit 9a99c84 into main Nov 11, 2026
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Save full-resolution browser screenshots

1 participant