diff --git a/skills/chrome-devtools/SKILL.md b/skills/chrome-devtools/SKILL.md index c3c23cca0f..c4975fdc86 100644 --- a/skills/chrome-devtools/SKILL.md +++ b/skills/chrome-devtools/SKILL.md @@ -6,7 +6,7 @@ description: Uses Chrome DevTools via MCP for efficient debugging, troubleshooti ## Core Concepts **Browser lifecycle**: Browser starts automatically on first tool call using a persistent Chrome profile. Configure via CLI args in the MCP server configuration: `npx chrome-devtools-mcp@latest --help`. -Addional tooling can be enabled by providing the following flags: +Additional tooling can be enabled by providing the following flags: - For extension tooling, use the `--categoryExtensions` flag. - For memory tooling, use the `--memoryDebugging` flag. diff --git a/src/collectors/PageCollector.ts b/src/collectors/PageCollector.ts index 145de8254e..0b568b80ef 100644 --- a/src/collectors/PageCollector.ts +++ b/src/collectors/PageCollector.ts @@ -368,7 +368,7 @@ class PageEventSubscriber { #onIssueAdded = (inspectorIssue: Issue): void => { try { - // @ts-expect-error The types are missmatched but they + // @ts-expect-error The types are mismatched but they // are coming from CDP if (!DevTools.isIssueCodeSupported(inspectorIssue.code)) { return; @@ -379,7 +379,7 @@ class PageEventSubscriber { inspectorIssue, )[0]; if (!issue) { - logger?.('No issue mapping for for the issue: ', inspectorIssue.code); + logger?.('No issue mapping for the issue: ', inspectorIssue.code); return; } diff --git a/src/devtools/DevtoolsUtils.ts b/src/devtools/DevtoolsUtils.ts index a09f0eec8a..e0990bf9ce 100644 --- a/src/devtools/DevtoolsUtils.ts +++ b/src/devtools/DevtoolsUtils.ts @@ -182,7 +182,7 @@ export async function createTargetUniverse( ); skipAllPausesSetting.set(true); - // @ts-expect-error devtools-frontend has diffrent types. + // @ts-expect-error devtools-frontend has different types. const connection = new DevTools.PuppeteerDevToolsConnection(session); const targetManager = universe.context.get(DevTools.TargetManager); diff --git a/tests/McpContext.test.ts b/tests/McpContext.test.ts index 55ad595599..b34199a72b 100644 --- a/tests/McpContext.test.ts +++ b/tests/McpContext.test.ts @@ -274,7 +274,7 @@ describe('McpContext', () => { }); }); - it('should should detect open DevTools pages', async () => { + it('should detect open DevTools pages', async () => { await withMcpContext( async (_response, context) => { const page = await context.newPage(); diff --git a/tests/McpResponse.test.ts b/tests/McpResponse.test.ts index 862a562bf4..4b54f1415f 100644 --- a/tests/McpResponse.test.ts +++ b/tests/McpResponse.test.ts @@ -1276,7 +1276,7 @@ describe('extensions', () => { const emptyText = getTextContent(emptyResult.content[0]); assert.ok( emptyText.includes('No unpacked extensions found.'), - 'Should show message for ampty extensions', + 'Should show message for empty extensions', ); response.resetResponseLineForTesting(); diff --git a/tests/tools/pages.test.ts b/tests/tools/pages.test.ts index aa9385258a..2cc17fabe4 100644 --- a/tests/tools/pages.test.ts +++ b/tests/tools/pages.test.ts @@ -1178,7 +1178,7 @@ describe('pages', () => { }); }); - it('reload with accpeting the beforeunload dialog', async () => { + it('reload with accepting the beforeunload dialog', async () => { await withMcpContext(async (response, context, args) => { const page = context.getSelectedMcpPage().pptrPage; await page.setContent(