Repository navigation
chore: update agents.md for testing - #2660
Merged
Merged
Conversation
OrKoN
force-pushed
the
orkon/agent-guidelines
branch
from
September 4, 2026 09:43
0e1708a to
63108af
Compare
wolfib
reviewed
Sep 4, 2026
wolfib
approved these changes
Sep 4, 2026
OrKoN
commented
Sep 4, 2026
OrKoN
enabled auto-merge
September 4, 2026 14:28
pull Bot
pushed a commit
to Pet3cy/chrome-devtools-mcp
that referenced
this pull request
Sep 7, 2026
…eDevTools#2665) Relates to ChromeDevTools#2639. Follow-up to ChromeDevTools#2641 and feedback in ChromeDevTools#2660 (`AGENTS.md`). ### Summary of Changes 1. **`tests/tools/emulation.test.ts`**: - Completely migrated off `withMcpContext`, removing all real-browser launches, `serverHooks`, and HTTP fixtures. - All tool handler test suites (`geolocation`, `viewport`, `userAgent`, `extraHttpHeaders`, `colorScheme`, `network`, `cpu`) now use `createHandlerMocks()` from `tests/mocks.ts` and verify `page.emulate()` is invoked with exact expected arguments. 2. **`tests/McpPage.test.ts`**: - Added unit test coverage for `McpPage.emulate()` using `createMockPuppeteerPage()`: - Offline network throttling settings and network blocking guard. - Secondary DevTools session CPU throttling delegation. - Geolocation set/clear behavior. - Viewport set/clear with default parameter merging. - Extra HTTP headers set/clear behavior. ### Verification - `npm run check-format`: Passed (clean ESLint + Prettier) - `npm run build`: Compiled with exit code 0 - `node scripts/test.js tests/tools/emulation.test.ts`: 50/50 tests passed - `node scripts/test.js tests/McpPage.test.ts`: 32/32 tests passed
pull Bot
pushed a commit
to oogalieboogalie/chrome-devtools-mcp
that referenced
this pull request
Sep 8, 2026
🤖 I have created a release *beep* *boop* --- ## [1.9.0](ChromeDevTools/chrome-devtools-mcp@chrome-devtools-mcp-v1.8.0...chrome-devtools-mcp-v1.9.0) (2026-09-08) ### 🎉 Features * Add --allow-unrestricted-paths by default for CLI ([ChromeDevTools#2618](ChromeDevTools#2618)) ([2dc104c](ChromeDevTools@2dc104c)) * add Agent Plugins 1.0 package ([ChromeDevTools#2623](ChromeDevTools#2623)) ([05d9e55](ChromeDevTools@05d9e55)) * add an option to turn off js execution tools ([ChromeDevTools#2627](ChromeDevTools#2627)) ([a78566e](ChromeDevTools@a78566e)) * Add cookie-debugging skill and improve network/pages tool descriptions ([ChromeDevTools#2596](ChromeDevTools#2596)) ([6a67552](ChromeDevTools@6a67552)) * add screencast fps option ([ChromeDevTools#2312](ChromeDevTools#2312)) ([2e641d8](ChromeDevTools@2e641d8)) * extend --no-javascript-evaluation to cover navigations and initScripts ([ChromeDevTools#2638](ChromeDevTools#2638)) ([4993a0f](ChromeDevTools@4993a0f)) * option to disable source maps ([ChromeDevTools#2628](ChromeDevTools#2628)) ([4430a76](ChromeDevTools@4430a76)) * **performance:** set default trace buffer size to match DevTools (1.2gb) ([ChromeDevTools#2614](ChromeDevTools#2614)) ([d1baa90](ChromeDevTools@d1baa90)) * support configurable filesystem roots ([ChromeDevTools#2605](ChromeDevTools#2605)) ([d00e6f8](ChromeDevTools@d00e6f8)) ### 🛠️ Fixes * detect scheduled script navigations ([ChromeDevTools#2622](ChromeDevTools#2622)) ([1b2c0e5](ChromeDevTools@1b2c0e5)) * do not enable the DevTools frontend Audits subscription ([ChromeDevTools#2625](ChromeDevTools#2625)) ([d1e73ff](ChromeDevTools@d1e73ff)) * filter out Chrome webui targets by default ([ChromeDevTools#2648](ChromeDevTools#2648)) ([020c048](ChromeDevTools@020c048)) * honor background when new_page uses isolatedContext ([ChromeDevTools#2658](ChromeDevTools#2658)) ([f215c82](ChromeDevTools@f215c82)) * **memory:** expliclity mention the need of a flag ([ChromeDevTools#2620](ChromeDevTools#2620)) ([46c3e05](ChromeDevTools@46c3e05)) * truncate long urls in concise network request output ([ChromeDevTools#2513](ChromeDevTools#2513)) ([552c870](ChromeDevTools@552c870)) * validate viewport and geolocation inputs in emulate tool ([ChromeDevTools#2663](ChromeDevTools#2663)) ([808aed6](ChromeDevTools@808aed6)), closes [ChromeDevTools#2662](ChromeDevTools#2662) ### 📄 Documentation * correct what --screenshotFormat reduces ([ChromeDevTools#2617](ChromeDevTools#2617)) ([c575777](ChromeDevTools@c575777)) * split the docs in separate files ([ChromeDevTools#2600](ChromeDevTools#2600)) ([5463101](ChromeDevTools@5463101)) * update agents.md for testing ([ChromeDevTools#2660](ChromeDevTools#2660)) ([18ca912](ChromeDevTools@18ca912)) * update SECURITY.md ([ChromeDevTools#2626](ChromeDevTools#2626)) ([fd67970](ChromeDevTools@fd67970)) ### 🏗️ Refactor * extract browser options ([ChromeDevTools#2654](ChromeDevTools#2654)) ([a918b7b](ChromeDevTools@a918b7b)) * extract category config into a seprate file ([ChromeDevTools#2652](ChromeDevTools#2652)) ([401a119](ChromeDevTools@401a119)) * move transform logic to Clearcut level ([ChromeDevTools#2637](ChromeDevTools#2637)) ([f0058d5](ChromeDevTools@f0058d5)) * wrap Server into a class ([ChromeDevTools#2633](ChromeDevTools#2633)) ([1a092ff](ChromeDevTools@1a092ff)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs: #2639 #2641