mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 23:06:49 +01:00
Inject alpha playwright in to our automation in MCP case (#262564)
This fixes things for MCP... with a hack. But Playwright is not interested in having interop between Playwright & Playwright MCP atm... so this is the best we can do for now.
This commit is contained in:
committed by
GitHub
parent
eadd76d8df
commit
14077dbc5b
@@ -5,6 +5,7 @@
|
||||
|
||||
import * as cp from 'child_process';
|
||||
import * as os from 'os';
|
||||
import * as playwright from 'playwright';
|
||||
import { IElement, ILocaleInfo, ILocalizedStrings, ILogFile } from './driver';
|
||||
import { Logger, measureAndLog } from './logger';
|
||||
import { launch as launchPlaywrightBrowser } from './playwrightBrowser';
|
||||
@@ -14,6 +15,8 @@ import { teardown } from './processes';
|
||||
import { Quality } from './application';
|
||||
|
||||
export interface LaunchOptions {
|
||||
// Allows you to override the Playwright instance
|
||||
playwright?: typeof playwright;
|
||||
codePath?: string;
|
||||
readonly workspacePath: string;
|
||||
userDataDir: string;
|
||||
|
||||
Reference in New Issue
Block a user