You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CLI: mock_network is refused as "category disabled", while docs/cli.md says the CLI supports tools that need a flag #3589
docs/cli.md says: "The CLI supports all tools available in the MCP server even if they require a flag to activate in the MCP server".
With the daemon started by a plain chrome-devtools start, or by the first command, the network mock tools are refused:
$ npx chrome-devtools mock_network 2 --route "http://localhost:8150/api/checkout" --body ok.json
Tool mock_network is in category Network mocks which is currently disabled. Enable it by running chrome-devtools start --categoryNetworkMocks=true. For more information check the README.
remove_network_mock answers the same. After chrome-devtools stop and chrome-devtools start --categoryNetworkMocks=true, both work, and so they do with "categoryNetworkMocks": true in the config file.
Found while testing the CLI by hand for a written guide at HyScaler.
Reproduction
No response
Expectation
Either the two tools work in the CLI without the flag, as the sentence in the CLI guide says, or the guide names the categories that still need a flag at start. The error message is clear and names the fix, so this is mostly about that sentence.
Activity
fix(cli): enable off by default categories in CLI except PWA (ChromeD…