@vscode/test-web 0.0.78 → 0.0.79

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.
@@ -129,8 +129,11 @@ async function openBrowser(endpoint, options, configPage) {
129
129
  if (options.waitForDebugger) {
130
130
  args.push(`--remote-debugging-port=${options.waitForDebugger}`);
131
131
  }
132
+ if (options.devTools && options.browserType === 'chromium') {
133
+ args.push('--auto-open-devtools-for-tabs');
134
+ }
132
135
  const headless = options.headless ?? options.extensionTestsPath !== undefined;
133
- const browser = await browserType.launch({ headless, args, devtools: options.devTools });
136
+ const browser = await browserType.launch({ headless, args });
134
137
  const context = await browser.newContext({ viewport: null });
135
138
  if (options.permissions) {
136
139
  context.grantPermissions(options.permissions);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/test-web",
3
- "version": "0.0.78",
3
+ "version": "0.0.79",
4
4
  "scripts": {
5
5
  "install-extensions": "npm i --prefix=fs-provider && npm i --prefix=sample",
6
6
  "compile": "tsc -b ./ && npm run compile-fs-provider",
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@koa/cors": "^5.0.0",
27
- "@koa/router": "^15.2.0",
28
- "@playwright/browser-chromium": "^1.57.0",
27
+ "@koa/router": "^15.3.0",
28
+ "@playwright/browser-chromium": "^1.58.0",
29
29
  "tinyglobby": "^0.2.15",
30
30
  "gunzip-maybe": "^1.4.2",
31
31
  "http-proxy-agent": "^7.0.2",
@@ -35,7 +35,7 @@
35
35
  "koa-mount": "^4.2.0",
36
36
  "koa-static": "^5.0.0",
37
37
  "minimist": "^1.2.8",
38
- "playwright": "^1.57.0",
38
+ "playwright": "^1.58.0",
39
39
  "tar-fs": "^3.1.1",
40
40
  "vscode-uri": "^3.1.0"
41
41
  },
@@ -51,10 +51,10 @@
51
51
  "@types/minimist": "^1.2.5",
52
52
  "@types/node": "^20.16.13",
53
53
  "@types/tar-fs": "^2.0.4",
54
- "@typescript-eslint/eslint-plugin": "^8.52.0",
55
- "@typescript-eslint/parser": "^8.52.0",
54
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
55
+ "@typescript-eslint/parser": "^8.54.0",
56
56
  "eslint": "^9.39.2",
57
- "@tony.ganchev/eslint-plugin-header": "^3.1.11",
57
+ "@tony.ganchev/eslint-plugin-header": "^3.2.0",
58
58
  "typescript": "^5.9.3"
59
59
  },
60
60
  "license": "MIT",