File tree Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ MCP clients.
2929
3030## Requirements
3131
32- - [ Node.js 20 ] ( https://nodejs.org/ ) or a newer [ latest maintainance LTS] ( https://github.com/nodejs/Release#release-schedule ) version.
32+ - [ Node.js] ( https://nodejs.org/ ) v20.19 or a newer [ latest maintenance LTS] ( https://github.com/nodejs/Release#release-schedule ) version.
3333- [ Chrome] ( https://www.google.com/chrome/ ) current stable version or newer.
3434- [ npm] ( https://www.npmjs.com/ ) .
3535
@@ -280,7 +280,7 @@ The Chrome DevTools MCP server supports the following configuration option:
280280 - ** Type:** string
281281
282282- ** ` --viewport ` **
283- Initial viewport size for the Chromee instances started by the server. For example, ` 1280x720 `
283+ Initial viewport size for the Chrome instances started by the server. For example, ` 1280x720 `
284284 - ** Type:** string
285285
286286- ** ` --proxyServer ` **
Original file line number Diff line number Diff line change 223223
224224### ` performance_analyze_insight `
225225
226- ** Description:** Provides more detailed information on a specific Performance Insight that was highlighed in the results of a trace recording.
226+ ** Description:** Provides more detailed information on a specific Performance Insight that was highlighted in the results of a trace recording.
227227
228228** Parameters:**
229229
Original file line number Diff line number Diff line change @@ -99,9 +99,9 @@ export async function launch(options: McpLaunchOptions): Promise<Browser> {
9999 if ( customDevTools ) {
100100 args . push ( `--custom-devtools-frontend=file://${ customDevTools } ` ) ;
101101 }
102- let puppeterChannel : ChromeReleaseChannel | undefined ;
102+ let puppeteerChannel : ChromeReleaseChannel | undefined ;
103103 if ( ! executablePath ) {
104- puppeterChannel =
104+ puppeteerChannel =
105105 channel && channel !== 'stable'
106106 ? ( `chrome-${ channel } ` as ChromeReleaseChannel )
107107 : 'chrome' ;
@@ -110,7 +110,7 @@ export async function launch(options: McpLaunchOptions): Promise<Browser> {
110110 try {
111111 const browser = await puppeteer . launch ( {
112112 ...connectOptions ,
113- channel : puppeterChannel ,
113+ channel : puppeteerChannel ,
114114 executablePath,
115115 defaultViewport : null ,
116116 userDataDir,
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export const cliOptions = {
5858 viewport : {
5959 type : 'string' ,
6060 describe :
61- 'Initial viewport size for the Chromee instances started by the server. For example, `1280x720`' ,
61+ 'Initial viewport size for the Chrome instances started by the server. For example, `1280x720`' ,
6262 coerce : ( arg : string | undefined ) => {
6363 if ( arg === undefined ) {
6464 return ;
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ async function formatConsoleMessage(msg: ConsoleMessage): Promise<string> {
4242 return error . toString ( ) ;
4343 } )
4444 . catch ( ( ) => {
45- return 'Error occured ' ;
45+ return 'Error occurred ' ;
4646 } ) ;
4747 void errorHandle . dispose ( ) . catch ( ) ;
4848
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ export const stopTrace = defineTool({
122122export const analyzeInsight = defineTool ( {
123123 name : 'performance_analyze_insight' ,
124124 description :
125- 'Provides more detailed information on a specific Performance Insight that was highlighed in the results of a trace recording.' ,
125+ 'Provides more detailed information on a specific Performance Insight that was highlighted in the results of a trace recording.' ,
126126 annotations : {
127127 category : ToolCategories . PERFORMANCE ,
128128 readOnlyHint : true ,
@@ -182,7 +182,7 @@ async function stopTracingAndAppendOutput(
182182 const errorText = e instanceof Error ? e . message : JSON . stringify ( e ) ;
183183 logger ( `Error stopping performance trace: ${ errorText } ` ) ;
184184 response . appendResponseLine (
185- 'An error occured generating the response for this trace:' ,
185+ 'An error occurred generating the response for this trace:' ,
186186 ) ;
187187 response . appendResponseLine ( errorText ) ;
188188 } finally {
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export async function parseRawTraceBuffer(
6666 } ;
6767 } catch ( e ) {
6868 const errorText = e instanceof Error ? e . message : JSON . stringify ( e ) ;
69- logger ( `Unexpeced error parsing trace: ${ errorText } ` ) ;
69+ logger ( `Unexpected error parsing trace: ${ errorText } ` ) ;
7070 return {
7171 error : errorText ,
7272 } ;
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ describe('pages', () => {
267267 ) ;
268268 } ) ;
269269 } ) ;
270- it ( 'can dismiss alread dismissed dialog dialogs' , async ( ) => {
270+ it ( 'can dismiss already dismissed dialog dialogs' , async ( ) => {
271271 await withBrowser ( async ( response , context ) => {
272272 const page = context . getSelectedPage ( ) ;
273273 const dialogPromise = new Promise < Dialog > ( resolve => {
You can’t perform that action at this time.
0 commit comments