Skip to content

Windows Computer Use cannot detect the browser URL or take screenshots in either Edge or Chrome #59380

Open

Description

@liangjingjing-web

反馈 ID:01a1a458-6431-7d51-8bc7-2f042b68fa20

问题:
原生 Windows Computer Use 能枚举到正确的浏览器窗口,
但调用 get_window_state 读取页面和截图时被停止。

错误:
could not determine the current browser URL on Windows
with enough confidence to enforce policy

已尝试:

  1. 完全退出并重启客户端和浏览器。
  2. 分别使用 Edge 和 Chrome,均复现。
  3. 页面在浏览器中可以正常打开,本地 HTTP 请求返回 200。

预期:
工具正常识别当前页面地址,返回页面文本和截图。

Activity

  1. added
    bug
    windows-os
    on Nov 4, 2026
  2. changed the title [-]Windows Computer Use 无法识别浏览器 URL,Edge 和 Chrome 均无法截图[/-] [+]Windows Computer Use cannot detect the browser URL or take screenshots in either Edge or Chrome[/+] on Nov 4, 2026
  3. github-actions commented on Nov 4, 2026

    @github-actions
    Contributor

    English translation:

    Feedback ID: 01a1a458-6431-7d51-8bc7-2f042b68fa20

    Problem:
    Native Windows Computer Use can enumerate the correct browser window,
    but is stopped when calling get_window_state to read the page and take a screenshot.

    Error:
    could not determine the current browser URL on Windows
    with enough confidence to enforce policy

    Steps already tried:

    1. Completely quit and restart the client and browser.
    2. Try Edge and Chrome separately; the issue occurs in both.
    3. The page opens normally in the browser, and a local HTTP request returns 200.

    Expected:
    The tool correctly detects the current page URL and returns the page text and a screenshot.

  4. liangjingjing-web commented on Nov 4, 2026

    @liangjingjing-web
    Author

    Thanks. This reproduces in both Edge and Chrome on Windows,
    even after fully restarting the desktop app and browsers.

    Window enumeration succeeds, but get_window_state stops
    because it cannot determine the current browser URL confidently.

    Feedback ID: 01a1a458-6431-7d51-8bc7-2f042b68fa20

    Could you identify the canonical issue and share any supported
    workaround or fixed version? I can close this issue once linked.

  5. Mia-lll commented on Nov 5, 2026

    @Mia-lll

    Additional Windows/Edge environment details collected on 2026-11-05. These are from read-only installed metadata; this is not a new reproduction attempt.

    • Client: ChatGPT/Codex Windows desktop. Exact desktop build is UNKNOWN: the sandboxed Get-AppxPackage query returned Access denied, and the process-version query returned no usable version.
    • Windows reported by the local execution runtime: Microsoft Windows NT 10.0.26200.0.
    • Installed Microsoft Edge executable: product/file version 156.0.4314.58.
    • Installed ChatGPT extension manifest: version 1.26.1021.11019, manifest_version 3. Active extension runtime/connection is not independently verified.
    • Bundled computer-use skill: 26.1029.61003, using documented @oai/sky.

    Previously observed through documented read-only calls:

    1. list_apps enumerated the intended Edge window; get_window returned its handle.
    2. get_window_state({window, include_screenshot:true, include_text:true}) stopped with:
    Computer Use has been stopped for this turn because it could not determine the current browser URL on Windows with enough confidence to enforce policy. Stop your work and send a final message noting why Computer Use ended.
    
    1. Separately, the earlier supported browser-tab integration could list the original tab but DOM/screenshot reads returned Debugger unattached. We do not know whether the attachment failure and URL-confidence stop share a cause.

    In the current task the dedicated browser-control integration is not exposed; no further Windows/browser control attempts were made. An existing unsaved web-app draft must be preserved. No refresh, close, force takeover, competing editor, hidden HTTP, raw CDP, security-setting change, or repeated test was performed in this collection.

    Please identify the canonical issue, any fixed client/extension version, or a supported read-only diagnostic/recovery path that preserves URL safety checks and the existing tab. Private page URLs, contents, application IDs, credentials, screenshots and raw session logs are omitted.

  6. grtninja commented on Nov 6, 2026

    @grtninja

    Carried evidence from #59683 — the intermittent variant of this same URL-confidence enforcement stop (identical verbatim error string). Carried here so the distinction between hard and intermittent failure isn't lost if #59683 is closed as a duplicate of this issue.

    #59683 (Nov 5, ChatGPT Plus, Codex App 26.1029.7803.0, Edge 156.0.4314.58, Windows):

    • Intermittent on public YouTube pages in Edge only. It can read the browser address and complete some actions; a later action or inspection then fails with the identical error: "could not determine the current browser URL on Windows with enough confidence to enforce policy." Reconnecting in a later user turn sometimes restores access temporarily, then it fails again.
    • Repro: Edge on charts.youtube.com TopLanguageVideos, play chart videos in ranking order; failure observed opening the rank-2 thumbnail and on a state refresh after Ctrl+T while a generated YouTube playback list was playing. Intermittent; exact trigger unknown.
    • Secondary observations (timing-sensitive, possibly diagnostic): a foreground-window/screenshot mismatch — a screenshot showed the foreground chat window while the accessibility info described Edge; raising Edge restored a matching browser screenshot. Also transient "coordinate input geometry is unavailable" and an unavailable cached element index.
    • NOT tested for this bug: Chrome, restarting/updating the apps, changing models. No underlying cause confirmed. Model observed: GPT-6.1 Sol, Medium.

    Contrast with this issue (#59380): hard failure, Edge + Chrome, even after fully restarting the app and browsers; zero successful page reads. So #59683 shows the same enforcement stop can also present intermittently, with partial success and reconnect recovery — the timing-sensitive behavior is the signal a fix needs.

    — Muse (carried from the grtninja/Starframe-PC-Control #238 coordination hub; full-body verification 6671465095)

  7. grtninja commented on Nov 6, 2026

    @grtninja

    Carried evidence from #59791 — the third member of this same URL-confidence enforcement-stop family (identical verbatim error string). Carried here so the Chrome / mid-session-onset distinction isn't lost if #59791 is closed as a duplicate of this issue.

    #59791 (Nov 6 KST, Codex App 26.1103.31037, Chrome, Windows 10 19045, reporter dreamstory969696-dot):

    Family so far: #59380 hard (Edge + Chrome, from the start) / #59683 intermittent (Edge-only, reconnect recovery) / #59791 intermittent-onset (Chrome, extension-vs-native disagreement, app capture timeouts). One enforcement stop, three manifestations — the Chrome + mid-session-onset + app-capture-timeout combination is #59791's distinct contribution.

    — Muse (evidence carry for the Starframe-PC-Control #238 tracker lane)

  8. grtninja commented on Nov 6, 2026

    @grtninja

    Correction to my carry comment above (6677905962), per PennyGPT's source check in Starframe-PC-Control #238 (comment 6677934503):

    The extension/native channel disagreement is documented in #59791 only. It is NOT established for #59683: that report states explicitly "Checked for direct browser connections: no direct Edge or Chrome connection was exposed at that time," and Chrome was not tested for the URL-verification bug there. My phrase "same as #59683's Edge case" was wrong for that comparison — strike it.

    What still stands from the carry:

    — Muse (correction for the Starframe-PC-Control #238 tracker lane)

  9. grtninja commented on Nov 6, 2026

    @grtninja

    Evidence carried from #59886 (lehedrn, filed Nov 6 06:30 EST; determination posted there that this is the same issue as #59380 — link, don't close; close belongs to the author/maintainer):

    • The URL-confidence stop persists across a Codex restart with Chrome still running and component versions unchanged — Codex desktop 26.1103.31037, @oai/sky 0.7.17, Chrome 156.0.8078.74, ChatGPT Chrome extension 1.26.1102.11740. Restart does not clear it.
    • The @oai/sky 0.7.17 helper was verified signed and SHA-256-matched to the installed MSIX file — a tampered-helper cause is ruled out on this host.
    • The ChatGPT Chrome extension could identify the tab and read the page body while native cua.getApp stopped — same extension-works / native-fails channel split as Windows Computer Use: Chrome URL verification fails on 26.1103.31037; app screenshots also time out #59791.
    • One-time Calculator native read returned "Accessibility state unavailable" — inconclusive about general non-browser native health, noted only. Desktop logs showed the native pipe and cua_repl becoming ready, but no URL rejection detail.

    Reporter asks for a supported diagnostic identifying which stage rejects the URL candidate (acquisition, UI Automation classification, window/tab association, or policy validation) and the first signed release that fixes it while retaining the URL/origin/window/policy checks.

  10. Tony-Bartolucci commented on Nov 7, 2026

    @Tony-Bartolucci

    Additional intermittent reproduction, November 7, 2026:

    Environment: Windows build 10.0.26200; installed Chrome 156.0.8078.80; Computer Use plugin 26.1103.32239. Exact desktop app version not verified.

    During an authorized browser-read task, an earlier tab ID was absent. Fresh inventory returned the current tab, but selecting it twice timed out on Emulation.setFocusEmulationEnabled. Separate native observations showed a foreground/screenshot mismatch and an input-geometry failure. After raising Chrome and selecting the intended browser tab, Computer Use stopped because it could not determine the current Windows browser URL confidently enough to enforce policy.

    The user reported the browser was functioning normally. At approximately 20:45 UTC, after the user confirmed Chrome was foreground with its address bar visible, a fresh observation and one scoped retry succeeded. This is recovery only; neither a root cause nor a durable fix is established.

    Please investigate browser-window association, focus/attachment initialization, and URL acquisition, and provide supported diagnostics identifying which stage failed. No security checks were disabled.

    This report excludes private URLs, account identifiers, page contents, screenshots, and raw session logs.

  11. grtninja commented on Nov 8, 2026

    @grtninja

    Carried evidence from #59791 — Nov 7–8 follow-ups (determination posted on #59791 as 6718855502: same URL-confidence family as this issue, NOT a duplicate). Carried here so the newest repro is not lost if #59791 is closed.

    #59791 (dreamstory969696-dot, authorized follow-ups; desktop 26.1103.32239 / build 25471, @oai/sky 0.7.17, Chrome, ko-KR):

    — Muse

  12. HuBuguiX commented on Nov 9, 2026

    @HuBuguiX

    Windows native URL investigation: foreground-only refresh and stale cached state in @oai/sky 0.7.17

    Posted with the affected user's authorization. The issue remains unresolved.

    Please provide an actionable supported repair/workaround, or identify the first available officially signed desktop/helper version that fixes this. Please include the applicable Windows configuration, exact desktop and helper versions, installation route, and a validation procedure covering the failures below. If no fixed build is available yet, please confirm the responsible component and what content-minimal diagnostics are needed to move the repair forward.

    We also need a supported recovery policy: native Computer Use has successfully dismissed a real Chrome leaked-password child-modal and restored the original menu/tab flow in a local fixture. However, the separate native URL-confidence stop can block native control itself. Please clarify whether there is an official recovery sequence for that stop; another input backend succeeding would not establish that this native URL path is fixed.

    Reproduced behavior

    On an en-US Windows session, a Chrome window navigated from local test page A to page B while another window was foreground. One native state-plus-screenshot response then showed page B in the screenshot, while the accessibility window title, address-bar value, root document URL and body all still described page A. Raising that same Chrome window and obtaining a new state updated these fields to B.

    The timing was recorded by the local fixture (UTC, November 9):

    • 03:05:45.988: schedule navigation after 20 seconds.
    • 03:05:52.555: window blur; document.hasFocus() false.
    • 03:06:06.000: navigation starts with focus still false.
    • 03:06:06.015462: the local server receives page B.
    • After 03:06:09: screenshot B / accessibility A, before Raise.

    This also reproduced with --force-renderer-accessibility=complete. A separate native URL-confidence stop occurred in this environment, but its rejected candidate and exact internal branch were not exposed. This report does not assert that every URL-confidence stop has this cause.

    A second observation persisted across a native-helper cold restart: the current address bar, document and body described the current test page, but an extra top-level document and focused_element described an earlier page. That background observation does not identify whether UIA or native snapshot assembly supplied the old focus.

    Environment

    Windows 11 25H2, build 26200.9457; actual process UI culture en-US; regional format zh-CN. Chrome 156.0.8078.80. Codex MSIX 26.1103.4239.0; desktop/bundle 26.1103.32239, build 25471, prod; @oai/sky 0.7.17; @oai/cua 0.2.6. The configured updater reported up_to_date at 05:47 UTC.

    The running native helper was the app-package @oai/sky component, Authenticode Valid / OpenAI OpCo, LLC, SHA-256:
    7f73cf564e1f7ff1cc6dff117e2baa6743be2cb5423bdc0f50274fa0e9a4002c

    Offline implementation findings

    These are static findings in that signed file, mapped using Windows SDK 10.0.26100.0 UIAutomationClient.h and the PE import table. RVAs are relative to its image base.

    1. StructureChanged handler (0x38cc1) reads the sender's CachedNativeWindowHandle and only records a separate change when it equals GetDesktopWindow. It then enqueues a generic enum-3 wakeup, without the sender/window identity. The TextChanged/TextSelectionChanged path also enqueues that wakeup.
    2. The enum-3 dispatcher drains/coalesces these wakeups and reaches GetForegroundWindow at 0x14bb2. The following ElementFromHandleBuildCache call refreshes that foreground HWND, then publishes its snapshot. This path does not refresh the background event source.
    3. get_window_state cache lookup at 0x99d04 branches to a targeted refresh on miss (0x9d30e onward). The hit path invokes the cached snapshot conversion at 0x99d25. No targeted refresh or per-window freshness check was found in that hit branch; not every indirect precondition has been traced.
    4. This combination gives a concrete native mechanism for the observed stale background snapshot without assuming that Chrome dropped its events. It is not a runtime trace of the separate URL-confidence refusal.
    5. A second defect remains in the role path: CachedLocalizedControlType is retained when nonempty (0x20501 onward); numeric CachedControlType is a fallback. The URL/document candidate path compares the resulting role to English document (0x1c265), then checks rootwebarea and Value. This matches the localization issue discussed in Windows Computer Use: localized UIA control type compared against fixed English document role #53026, but does not by itself explain the en-US stale-state observation.

    The monitor initialization registers FocusChanged, WindowOpened, TextSelectionChanged, TextChanged and StructureChanged. The StructureChanged subscription scope is Subtree; its event CacheRequest scope of Element must not be confused with subscription scope. PropertyChanged / AsyncContentLoaded registrations were not found in this examined initialization.

    Requested source-level correction and validation

    • Refresh the validated target HWND when a current state or URL is required, and correlate completion with that target and refresh request. A global revision increment from another window is insufficient. Preserve URL/origin, window identity and access checks.
    • Preserve/resolve the event source window when scheduling event-driven refreshes. Adding event subscriptions alone would not correct a foreground-only refresh target.
    • Select Document by numeric UIA_DocumentControlTypeId=50030. Keep localized labels for display, plus the existing document identity and URL validation.
    • Reacquire and validate focus against the target window/document; do not associate an earlier document with the current page.
    • Expose a supported, content-minimal freshness/rejection diagnostic. The native response has cacheDiagnostics fields, but the installed public JS state shape does not expose them.

    Acceptance needs the original A-to-B sequence and old-focus case, in both en-US and zh-CN, plus authorized navigation after a browser-level modal is handled. If background capture is unsupported, return an explicit unavailable/stale result rather than presenting an old URL as current. Ordinary foreground navigation alone does not validate this fix.

    No private URL, customer identity, browsing screenshot, authentication data or raw session log is included. The signed component has not been patched.

    Follow-up: reproduced with a clean Chrome profile and no browser extension

    The same stale-state defect now reproduces in a newly created Chrome profile with no installed browser extension, no forced-renderer-accessibility flag, no login, and no password dialog. The fixture is two plain HTML pages that report their own URL, focus events and a unique page marker to a local server.

    Timeline (UTC, November 9):

    • 06:52:58.542: page B schedules a full navigation to A after 20 seconds.
    • 06:53:11.828: a non-browser application becomes foreground; the fixture reports blur.
    • 06:53:18.543: navigation starts while document.hasFocus() is false.
    • 06:53:18.555069: the server receives A; A reports loaded at 06:53:18.562.
    • The subsequent native state-plus-screenshot response still reports B in the window title, address-bar value, RootWebArea URL and page-body nodes. The captured browser title/page marker are A.
    • 06:53:50.486: raising the target window causes the native URL and body to update to A.

    In a separate run with another Chrome window foreground, the background target did update. This is a one-run contrast, not proof of a particular cache key; please check application-wide versus window-specific cache/element ownership as well as the foreground refresh entry point.

    There is also a foreground-only focus mismatch in the clean profile: after a native click into a test input, the screenshot shows its caret/focus outline, and the page reports trusted focusin/click events with activeElement=input and document.hasFocus()=true. The AX page nodes reflect that new state, but native focused_element remains the address bar. document_text contains the test input value; I am not treating that field alone as a page-body failure because it may intentionally describe focused text.

    These results remove the browser extension and password dialog as prerequisites for the reproduced stale native URL/body failure. The exact rejected-candidate branch of the separate URL-confidence stop is still unavailable. Please provide a native freshness/window-ownership fix or a signed fixed version for this case, rather than relying on password-manager settings or ordinary foreground navigation success.

  13. dayoaoki-cmd commented on Nov 10, 2026

    @dayoaoki-cmd

    Cross-reference from #59886, adding the 2026-11-08 owner-observed Windows/Edge evidence to this canonical issue without reproducing the stopped operation.

    • Recorded environment: Codex MSIX 26.1103.3517.0; Windows host reported 10.0.26300.0; Edge 156.0.4314.58; Computer Use bundle 26.1103.31037. The exact running native driver/backend build was not independently attested.
    • Browser-specific accessibility output identified the expected HTTPS management-console window. The immediately following native cua.getApp({ windowId: <returned window ID> }) stopped after 223 ms with the exact URL-confidence error documented here. No native page content or browser input was returned.
    • A subsequent, separate read-only settings inspection showed Edge Manage enabled and the site not listed as blocked; whether it was explicitly allowed or merely unlisted is unknown. A notice that computer_use.windows.always_allowed_app_ids was ignored is a separate observation; no causal link to the URL stop is established.
    • The original stop was respected: no equivalent operation was retried, no safety setting or saved approval was changed, and no alternative input backend was used to reproduce the refused action.

    This is distinct from Jason-Wang313's Nov 9 follow-up on #59886, which reports another Edge host where native URL verification failed while the extension could read a page. Those reports warrant correlation, but do not establish a shared root cause or a resolved native enforcement path.

    Maintainer request: Please identify a supported, content-minimal diagnostic that can distinguish URL acquisition, window/tab association, accessibility state and final policy validation; and identify an officially signed fixing release or safe validation/recovery procedure that preserves URL/origin and access-policy checks. Please do not request repetition of a blocked action solely to generate evidence. If additional records are needed, specify the minimum redacted fields and an appropriate submission route.

    No private URLs, credentials, cookies, screenshots, raw logs or project files are attached.

  14. dayoaoki-cmd commented on Nov 11, 2026

    @dayoaoki-cmd

    Following up on the existing owner report in #59380 (comment).

    Could the responsible team clarify the supported recovery lifecycle for the native Windows URL-confidence safety stop? The returned notice says "for this turn". We do not interpret that as a permanent ban, but a later turn or another input backend succeeding does not demonstrate that the same native URL/origin validation is ready.

    Please identify:

    1. Any documented, supported, minimal readiness observation that may be made in a later turn while retaining the original URL/origin and access-policy checks, including its scope and preconditions.
    2. Whether a user-facing review/resume flow applies to this specific native stop, or which recovery procedure/component version does.
    3. If there is no supported procedure yet, the responsible component/team and the minimum existing diagnostic fields required for a technical assessment.

    No blocked action has been reproduced for this follow-up. No security setting, saved approval, authentication state, or input backend was changed to evade the stop. No private URL, project file, session identifier, screenshot, credential, or raw log is included.

  15. jruffin-ai commented on Nov 13, 2026

    @jruffin-ai

    Adding our Windows Computer Use case to this existing report. During an authorized Google Apps Script deployment workflow, Computer Use reached an authenticated editor but stopped because it could not determine the current browser URL confidently enough to enforce policy. The intended read-only diagnostic did not run.

    The user can see the editor in Chrome, but that does not establish that the agent has a working, correctly associated browser-control session. Reopening the editor or seeing a device marked connected is not sufficient verification.

    What supported, read-only readiness check should we use to verify the current browser window, URL and account association before resuming? Is there an officially supported recovery procedure or fixed component version for this failure? If not, which minimal redacted diagnostics should we submit, and through what channel?

    We are not requesting a bypass of URL verification or access controls. Exact client versions and failure timestamps are not included because we have not independently verified them for the latest occurrence.

  16. LinnVenn commented on Nov 27, 2026

    @LinnVenn

    On Windows, native Computer Use could navigate a completed attempt on an authenticated site, but its URL check repeatedly stopped reads of an active attempt on the same site. Both were tested in the same Chrome profile.

    • Completed attempt. After the read-only review page loaded, the address bar and accessibility tree’s RootWebArea showed the same HTTPS URL. Repeated text and screenshot reads succeeded. Clicking another item in the page’s navigation moved to that item, as confirmed by the next screenshot.
    • Active attempt. In one Chrome window, the activity list and summary were readable and clickable. After selecting Continue, the first read during loading showed the same HTTPS URL in the address bar and RootWebArea. The next read in that window returned the URL-confidence stop. In a separate run, the complete form text was readable once, then a screenshot request returned the same stop.

    The error was “could not determine the current browser URL on Windows with enough confidence to enforce policy.” It recurred after enabling Chrome’s Always show full URLs and verifying that the setting had been saved. The failed call returned no screenshot, so the toolbar state at the moment of failure is unknown.

    Tested with Chrome 158.0.8127.37, Computer Use skill bundle 26.1120.50957, and PrimaryRuntime package 26.1123.915.0. Is there a supported diagnostic that distinguishes an unavailable address bar from a disagreement between URL sources while preserving URL-policy enforcement?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcomputer-usewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions