playwright 1.56.0 → 1.56.1-beta-1760659320000

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -240,10 +240,10 @@ async function initVSCodeRepo() {
240
240
  mcpJson.servers["playwright-test"] = {
241
241
  type: "stdio",
242
242
  command: commonMcpServers.playwrightTest.command,
243
- args: commonMcpServers.playwrightTest.args,
244
- cwd: "${workspaceFolder}"
243
+ args: commonMcpServers.playwrightTest.args
245
244
  };
246
245
  await writeFile(mcpJsonPath, JSON.stringify(mcpJson, null, 2));
246
+ console.log(import_utilsBundle.colors.yellow(`${import_utilsBundle.colors.bold("Note:")} Playwright Test Agents require VSCode version 1.105+ or VSCode Insiders`));
247
247
  }
248
248
  async function initOpencodeRepo() {
249
249
  const agents = await loadAgents();
@@ -65,7 +65,7 @@ class TestServerBackend {
65
65
  this._context.initialize(rootPath, (0, import_configLoader.resolveConfigLocation)(rootPath));
66
66
  return;
67
67
  }
68
- throw new Error("No config option or MCP root path provided");
68
+ this._context.initialize(rootPath, (0, import_configLoader.resolveConfigLocation)(void 0));
69
69
  }
70
70
  async listTools() {
71
71
  return [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playwright",
3
- "version": "1.56.0",
3
+ "version": "1.56.1-beta-1760659320000",
4
4
  "description": "A high-level API to automate web browsers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -64,7 +64,7 @@
64
64
  },
65
65
  "license": "Apache-2.0",
66
66
  "dependencies": {
67
- "playwright-core": "1.56.0"
67
+ "playwright-core": "1.56.1-beta-1760659320000"
68
68
  },
69
69
  "optionalDependencies": {
70
70
  "fsevents": "2.3.2"