Skip to content

fix: preserve Firefox screenshot coordinates (PAB-206) (2/4) - #454

Merged
fitchmultz merged 1 commit into
feat/pab-206-agent-browser-045from
fix/pab-206-firefox-screenshot
Nov 25, 2026
Merged

fitchmultz merged 1 commit into
feat/pab-206-agent-browser-045from
fix/pab-206-firefox-screenshot

Conversation

@fitchmultz

@fitchmultz fitchmultz commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

Keep the measured viewport-to-CSS mapping when a Firefox screenshot does not have an element crop. Omit the unused property at the source so BiDi does not serialize an absent element as null and invalidate the entire sample.

Verification

  • The new real Firefox test failed before the fix with unknown geometry, then passed on Firefox 161 and agent-browser 0.45.0 with a verified 800 × 600 PNG and 1:1 CSS mapping.
  • A checkout-only interactive Pi run repeated the same capture on Example Domain, verified the image attachment and mapping, and closed Firefox.

Gr8r Studio: PAB-206.

@fitchmultz
fitchmultz added this pull request to stack #455 November 25, 2026 21:32
@fitchmultz fitchmultz changed the title fix/pab 206 firefox screenshot fix: preserve Firefox screenshot coordinates (PAB-206) (2/4) Nov 25, 2026
@fitchmultz
fitchmultz force-pushed the fix/pab-206-firefox-screenshot branch from 4398e42 to 9ef0ab5 Compare November 25, 2026 21:37
@fitchmultz
fitchmultz force-pushed the fix/pab-206-firefox-screenshot branch from 9ef0ab5 to 97954ff Compare November 25, 2026 21:51
@fitchmultz
fitchmultz merged commit 8ad4aa9 into main Nov 25, 2026
12 of 20 checks passed
@fitchmultz
fitchmultz deleted the fix/pab-206-firefox-screenshot branch November 25, 2026 22:02
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.

1 participant