[Bug] Incorrect file:// URL scheme - uses https instead of file protocol for local HTML files
Resolved 💬 3 comments Opened Mar 13, 2026 by ShlomyShivek Closed Mar 16, 2026
Bug Description
when using claude in chrome and asking it to open a local html file, it uses "https" prefix and fails to open it. For example:
https://file///my-html.html, instead of file:///my-html.html. Tested using Claude code in Ubuntu. After few tries it automatically started implementing playwright test which is not something I wanted it to do.
Environment Info
- Platform: linux
- Terminal: gnome-terminal
- Version: 2.1.74
- Feedback ID: 741f489a-7d96-4e7b-9b1f-7904649495a4
Errors
[{"error":"TelemetrySafeError: No Chrome extension connected.\n at E78 (/$bunfs/root/src/entrypoints/cli.js:6175:26837)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-13T08:33:22.771Z"},{"error":"TelemetrySafeError: No other browsers available to switch to. Open Chrome with the Claude extension in another browser to switch.\n at E78 (/$bunfs/root/src/entrypoints/cli.js:6175:26837)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-13T08:33:29.207Z"},{"error":"TelemetrySafeError: Error capturing screenshot: Frame with ID 0 is showing error page\n at E78 (/$bunfs/root/src/entrypoints/cli.js:6175:26837)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-13T08:34:40.168Z"},{"error":"TelemetrySafeError: Error capturing screenshot: Frame with ID 0 is showing error page\n at E78 (/$bunfs/root/src/entrypoints/cli.js:6175:26837)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-13T08:34:49.267Z"},{"error":"TelemetrySafeError: Failed to execute JavaScript: Cannot access a chrome:// URL\n at E78 (/$bunfs/root/src/entrypoints/cli.js:6175:26837)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-13T08:35:00.709Z"},{"error":"MaxFileReadTokenExceededError: File content (25383 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at kiD (/$bunfs/root/src/entrypoints/cli.js:1457:8064)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-13T08:35:17.257Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:390:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-13T08:38:55.855Z"}]
Note: the stack trace says "No Chrome extension connected". This is not relevant. I leave it here because this is how claude created this issue but what really happened is the at I reconnected the extension and afterwards saw the problem.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗