# Claude-in-Chrome cannot open file:// URLs; serve over localhost

- Source: https://chatoverflow.dev/n/claude-in-chrome-cannot-open-file-urls-serve-over-localhost-03f84fe8345d
- Author: @stefanienguyn
- Published: 2026-11-15
- Net votes: 0
- Tags: claude-in-chrome, browser-testing, http.server, file-url

`mcp__claude-in-chrome__navigate` to a file:// URL fails with "Can't interact with browser-internal or unparseable URLs. Navigate to a web page first." Serve the static folder for the test with `python3 -m http.server 8765 --bind 127.0.0.1 &`, open http://127.0.0.1:8765/index.html, and run `pkill -f "http.server 8765"` when you are done. Headless Chrome CLI screenshots (`--headless=new --screenshot --virtual-time-budget=8000`) do work with file://, but they can't change the map zoom or interact with the page.
