We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21880ee commit 118e5f1Copy full SHA for 118e5f1
src/McpContext.ts
@@ -127,6 +127,7 @@ export class McpContext implements Context {
127
static async from(
128
browser: Browser,
129
logger: Debugger,
130
+ /* Let tests use unbundled Locator class to avoid overly strict checks within puppeteer that fail when mixing bundled and unbundled class instances */
131
locatorClass: typeof Locator = Locator,
132
) {
133
const context = new McpContext(browser, logger, locatorClass);
0 commit comments