Skip to content

Unattended capture: launcher relies on --load-extension, which Chrome 137+ ignores #44

Open

Description

@wolfgang-aura

Impact. Unattended capture (experimental, Windows) does not work for users whose only browser is Google Chrome. Brave and Edge are unaffected.

Evidence. Since Chrome 137, branded Google Chrome ignores --load-extension (Chromium PSA, 2025-04-04). Chromium, Chrome for Testing, Brave and Edge still honor it.

scripts/start-sourcecapsule-browser.ps1 picks Chrome when Brave is missing (Resolve-BrowserPath, lines 59-67). It then writes --load-extension into the shortcut. -Status checks only that the flag appears on the command line (line 97), so it reports healthy while Chrome has not loaded the extension. The CLI then fails with the host unreachable.

Environment. Not reproduced: Chrome is not installed on the owner's machine. This finding comes from the announcement and the code path.

Next action. Stop auto-selecting Chrome in the launcher, and make -Status / -Verify fail with a clear message for chrome.exe. In the README, tell Chrome users to use a one-time Load unpacked. That installs as UNPACKED, survives restarts and needs no launcher. Verify on a machine with Chrome 137+.

Activity

  1. wolfgang-aura commented on Oct 5, 2026

    @wolfgang-aura
    OwnerAuthor

    Fix merged in 3b1f8d8 (PR #45, main 9ea5b05).

    Verified:

    • test/native-host.test.mjs uses stand-in exes for Google Chrome, Chrome for Testing and Edge. The Chrome case failed before the fix (Chrome must not be given --load-extension) and passes now. CI is green.
    • On the owner's Brave, -Status still exits 0 and -ShowLaunchArgs still includes --load-extension.

    Not verified: a real Chrome 137+. Chrome is not installed on the owner's machine. Live check on any Windows machine with Chrome and no Brave or Edge, or with -BrowserPath pointing at chrome.exe:

    1. scripts\start-sourcecapsule-browser.ps1 -ShowLaunchArgs -BrowserPath "<chrome.exe>" prints the Load unpacked steps, and the Arguments line has no --load-extension.
    2. Load unpacked dist\sourcecapsule-extension once, start Chrome with those arguments, then run node scripts\sourcecapsule-capture.mjs --ping. It should return "ok": true.

    Leaving this open until that check runs.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions