Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.901.22334 (build 7746)
What subscription do you have?
Pro plan
What platform is your computer?
Darwin 25.6.0 arm64 arm
What issue are you seeing?
When Browser Use controls a navigation or reload in the Codex built-in browser, an iframe whose src is a browser-generated blob: URL can remain on its initial empty about:blank document.
The parent page loads correctly and its JavaScript continues running. The iframe element receives a valid blob:http://... source, but the generated document never becomes available inside it.
The failed iframe consistently has:
- HTML length: 39 bytes
- Body children: 0
- Stylesheets: 0
- Content:
<html><head></head><body></body></html> - Document URL:
about:blank - The iframe
srcattribute still contains the expectedblob:http://...URL
The behavior depends on how navigation happens:
- Opening the page manually before Browser Use attaches allows the blob iframe to load.
- Direct navigation performed by Browser Use leaves the blob iframe empty.
- Reloading a healthy page through Browser Use leaves the new blob iframe empty.
- Playwright controlling the same installed system Chrome loads blob iframes correctly after direct navigation and reload.
A srcdoc iframe on the same minimal test page renders correctly during Browser Use navigation. The equivalent blob: iframe remains empty.
This suggests the problem is in the Codex Browser Use iframe navigation or instrumentation lifecycle. It does not appear to be a general Chrome or Playwright problem.
What steps can reproduce the bug?
- Save the following as
index.html:
<!doctype html>
<html>
<body>
<h1>Iframe test</h1>
<h2>srcdoc</h2>
<iframe id="srcdoc-frame"></iframe>
<h2>blob</h2>
<iframe id="blob-frame"></iframe>
<script>
const html = `<!doctype html>
<html>
<head>
<style>
body {
color: green;
}
</style>
</head>
<body>
<p>Iframe loaded</p>
</body>
</html>`;
document.querySelector('#srcdoc-frame').srcdoc = html;
document.querySelector('#blob-frame').src = URL.createObjectURL(
new Blob([html], { type: 'text/html' })
);
</script>
</body>
</html>- Serve the file over local HTTP:
python3 -m http.server 9421 --bind 127.0.0.1- Ask Browser Use to navigate a Codex built-in browser tab to
http://127.0.0.1:9421/. - Observe that the
srcdociframe rendersIframe loaded. - Observe that the blob iframe remains empty.
- Inspect both frames from the parent page:
[...document.querySelectorAll('iframe')].map((iframe) => {
const document = iframe.contentDocument;
return {
id: iframe.id,
src: iframe.src,
documentUrl: document?.location.href,
htmlLength: document?.documentElement?.outerHTML.length,
bodyChildren: document?.body?.children.length,
stylesheets: document?.styleSheets.length,
};
});- Observe that the blob iframe has a
blob:http://...source while its document remains the empty 39-byteabout:blankdocument. - Reload the page through Browser Use and observe the same result.
What is the expected behavior?
Browser Use navigation and reload should not change iframe loading behavior. A same-origin blob: iframe should load its generated document and fire the normal lifecycle events, as it does in Chrome without Browser Use instrumentation.
Additional information
This was originally discovered in the WordPress Gutenberg editor. Gutenberg uses a generated blob: iframe for the editor canvas. When the failure occurs, the wp-admin shell loads but the complete visual editor remains blank.
The WordPress reproduction was confirmed on WordPress 7.1:
- Manual opening: 160,527-byte iframe, 21 body children, 60 stylesheets
- Browser Use navigation: 39-byte iframe, zero body children, zero stylesheets
- Browser Use reload: 39-byte iframe, zero body children, zero stylesheets
- Playwright with system Chrome, direct navigation: 160,538-byte iframe, 21 body children, 60 stylesheets
- Playwright with system Chrome, reload: 160,538-byte iframe, 21 body children, 60 stylesheets
- The failure reproduces with every WordPress plugin disabled
Gutenberg issue:
Related Codex issues:
- Codex App in-app browser does not render iframes on localhost #20307 reports general iframe failures on
https://localhost, but does not cover browser-generatedblob:documents or the manual-versus-controlled navigation difference. - [macOS][Codex Desktop][In-app Browser] Multiple TinyMCE iframes emit MutationObserver non-Node errors #37941 reports iframe document errors originating from Browser Use's injected Playwright instrumentation. Those TinyMCE editors still render.
Activity
XiaoYangyangs commentedon Sep 12, 2026
Confirmed on Windows with Codex Desktop 26.908.4834.0 and WordPress 7.1. This affects the Gutenberg product editor in a private localhost WordPress preview.
Observed behavior:
The desktop application log provides a direct failure signal (local paths and blob UUIDs omitted):
This warning was recorded for the editor canvas both before and after reload. The stack includes getRestrictionError, isRestrictedForPageEntry, isRestrictedForWebContentsId, and isRestrictedBrowserNavigation.
This appears to extend the reported issue to Windows and provides evidence that Browser Use URL policy is rejecting the generated canvas navigation. We did not modify the policy, disable protections, or change WordPress to bypass the restriction.
Expected: legitimate same-origin editor canvas behavior should be supported under the intended Browser Use security model, or an actionable message should explain the unsupported canvas instead of leaving the editor silently blank.
willmot commentedon Oct 27, 2026
- Written by Codex
gpt-6.1-sol mediumwillmot commentedon Oct 28, 2026
- Written by Codex
gpt-6.1-sol highsean-cortical commentedon Nov 11, 2026
Additional Linux confirmation from 11 November 2026.
The existing report and comments cover macOS and Windows. This reproduction was observed in the desktop in-app browser on Ubuntu.
Environment:
uname -mprs:Linux 6.17.0-1033-oem x86_64 x86_64.26.1103.60933, build25894, production distribution. The package manager independently reportschatgpt 26.1103.60933. This is not a claim that the installed version is the latest available release.A standalone local HTML page served over loopback compares three iframe documents. Each child contains placeholder text and a script that sends a ready message to the parent.
srcdocURL.createObjectURL(new Blob([html], {type: "text/html"}))about:blank, body has zero children and empty HTML, no blob-frame load/error event or child ready message appears in the parent's event logThe iframe's DOM
srcretains its generatedblob:http://127.0.0.1:<port>/<uuid>URL while the child document remainsabout:blank. A screenshot agrees with these observations.This also affects a Windmill raw app that embeds its UI using a generated blob URL. Its outer page loads, but the app frame remains empty before the dashboard JavaScript runs. The user reports that the same dashboard works in Firefox; the standalone fixture was not independently tested in Firefox.
The standalone case requires no authentication, remote resources, Windmill code, or provider API calls. This run adds Linux/platform-version evidence. We did not collect a CDP cancellation trace or application policy logs, so it does not independently establish which internal handler rejects the navigation.
No private dashboard URLs, account information, credentials, session transcripts, or customer data are included.