MCPcopy
hub / github.com/ChromeDevTools/chrome-devtools-mcp / throwIfDialogOpen

Method throwIfDialogOpen

src/McpPage.ts:85–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 }
84
85 throwIfDialogOpen(): void {
86 if (this.#dialog) {
87 throw new Error(
88 `A dialog is open (${this.#dialog.type()}: ${this.#dialog.message()}).`,
89 );
90 }
91 }
92
93 getThirdPartyDeveloperTools(): ToolGroups {
94 return this.thirdPartyDeveloperTools;

Callers 1

handleMethod · 0.80

Calls 1

typeMethod · 0.45

Tested by

no test coverage detected