@applitools/spec-driver-playwright 1.3.21 → 1.3.22

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.3.22](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-playwright@1.3.21...js/spec-driver-playwright@1.3.22) (2023-08-10)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * avoid service worker shutdown ([#1830](https://github.com/applitools/eyes.sdk.javascript1/issues/1830)) ([f552d84](https://github.com/applitools/eyes.sdk.javascript1/commit/f552d8425778f300cad31c0297a04f3f282f34e0))
9
+
3
10
  ## [1.3.21](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-playwright@1.3.20...js/spec-driver-playwright@1.3.21) (2023-08-03)
4
11
 
5
12
 
@@ -246,6 +246,12 @@ async function build(env) {
246
246
  headless: headless && !extension,
247
247
  ignoreDefaultArgs: ['--hide-scrollbars'],
248
248
  };
249
+ // TODO remove this once Playwright provides formal support for headless: 'new' (https://github.com/microsoft/playwright/issues/21194)
250
+ if (headless === 'new') {
251
+ options.args.push('--headless=new');
252
+ delete options.headless;
253
+ options.ignoreDefaultArgs.push('--headless');
254
+ }
249
255
  if (extension) {
250
256
  options.args.push(`--load-extension=${extension}`, `--disable-extensions-except=${extension}`);
251
257
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/spec-driver-playwright",
3
- "version": "1.3.21",
3
+ "version": "1.3.22",
4
4
  "keywords": [
5
5
  "playwright",
6
6
  "chrome devtools protocol",