@applitools/spec-driver-playwright 1.3.20 → 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 +24 -0
- package/dist/spec-driver.js +6 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
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
|
+
|
|
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)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Dependencies
|
|
14
|
+
|
|
15
|
+
* @applitools/driver bumped to 1.13.4
|
|
16
|
+
#### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* extract device orientation from a browser for web executions ([d8d4e91](https://github.com/applitools/eyes.sdk.javascript1/commit/d8d4e919965fb9105915e762c397ec2cc57a8a71))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
* @applitools/snippets bumped to 2.4.22
|
|
23
|
+
#### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* improve orientation extraction for ios devices ([378d989](https://github.com/applitools/eyes.sdk.javascript1/commit/378d9894e4fbc7247087ccb8c46266dc4737e2e5))
|
|
26
|
+
|
|
3
27
|
## [1.3.20](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-playwright@1.3.19...js/spec-driver-playwright@1.3.20) (2023-07-21)
|
|
4
28
|
|
|
5
29
|
|
package/dist/spec-driver.js
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "1.3.22",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"playwright",
|
|
6
6
|
"chrome devtools protocol",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"up:framework": "run --top-level add-silent playwright"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@applitools/driver": "1.13.
|
|
43
|
+
"@applitools/driver": "1.13.4",
|
|
44
44
|
"@applitools/utils": "1.5.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|