Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion skills/chrome-devtools/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/collectors/PageCollector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion src/devtools/DevtoolsUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion tests/McpContext.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion tests/McpResponse.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion tests/tools/pages.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Loading