Update playwright-interactive examples for original image detail (#261)

Ensure that as https://github.com/openai/codex/pull/14175 rolls out,
this skill will take advantage of it (adding the arg before the change
rolls out is a no-op, so this is safe to add now).
This commit is contained in:
Curtis 'Fjord' Hawthorne
2026-03-11 16:54:05 -07:00
committed by GitHub
parent f99f782392
commit ecc1fb8bc0
@@ -365,6 +365,7 @@ var emitJpeg = async function (bytes) {
await codex.emitImage({
bytes,
mimeType: "image/jpeg",
detail: "original",
});
};
@@ -559,6 +560,7 @@ Web desktop raw emit:
await codex.emitImage({
bytes: await page.screenshot({ type: "jpeg", quality: 85 }),
mimeType: "image/jpeg",
detail: "original",
});
```
@@ -568,6 +570,7 @@ Electron raw emit:
await codex.emitImage({
bytes: await appWindow.screenshot({ type: "jpeg", quality: 85 }),
mimeType: "image/jpeg",
detail: "original",
});
```
@@ -577,6 +580,7 @@ Mobile raw emit after the mobile web context is already running:
await codex.emitImage({
bytes: await mobilePage.screenshot({ type: "jpeg", quality: 85 }),
mimeType: "image/jpeg",
detail: "original",
});
```