@applitools/spec-driver-playwright 1.5.8 → 1.5.10
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 +41 -0
- package/dist/spec-driver.js +8 -1
- package/package.json +3 -3
- package/types/index.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.5.10](https://github.com/Applitools-Dev/sdk/compare/js/spec-driver-playwright@1.5.9...js/spec-driver-playwright@1.5.10) (2025-04-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Performance Improvements
|
|
7
|
+
|
|
8
|
+
* cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* @applitools/snippets bumped to 2.6.5
|
|
14
|
+
#### Performance Improvements
|
|
15
|
+
|
|
16
|
+
* cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
|
|
17
|
+
* @applitools/driver bumped to 1.21.1
|
|
18
|
+
#### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* executePoll error logging FLD-2870 ([#2890](https://github.com/Applitools-Dev/sdk/issues/2890)) ([a8ff720](https://github.com/Applitools-Dev/sdk/commit/a8ff720efafacabe2023282748a6d8a0f1b3ff73))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [1.5.9](https://github.com/Applitools-Dev/sdk/compare/js/spec-driver-playwright@1.5.8...js/spec-driver-playwright@1.5.9) (2025-03-30)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Dependencies
|
|
29
|
+
|
|
30
|
+
* @applitools/utils bumped to 1.8.0
|
|
31
|
+
#### Features
|
|
32
|
+
|
|
33
|
+
* allow sending callback functions to waitBeforeCapture ([#2780](https://github.com/Applitools-Dev/sdk/issues/2780)) ([4caa2e8](https://github.com/Applitools-Dev/sdk/commit/4caa2e8ae055d3dd48164eeceaa4c691eeadcdd4))
|
|
34
|
+
* @applitools/logger bumped to 2.1.2
|
|
35
|
+
|
|
36
|
+
* @applitools/driver bumped to 1.21.0
|
|
37
|
+
#### Features
|
|
38
|
+
|
|
39
|
+
* allow sending callback functions to waitBeforeCapture ([#2780](https://github.com/Applitools-Dev/sdk/issues/2780)) ([4caa2e8](https://github.com/Applitools-Dev/sdk/commit/4caa2e8ae055d3dd48164eeceaa4c691eeadcdd4))
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
3
44
|
## [1.5.8](https://github.com/Applitools-Dev/sdk/compare/js/spec-driver-playwright@1.5.7...js/spec-driver-playwright@1.5.8) (2025-02-26)
|
|
4
45
|
|
|
5
46
|
|
package/dist/spec-driver.js
CHANGED
|
@@ -229,8 +229,15 @@ async function build(env) {
|
|
|
229
229
|
headless: headless && !extension,
|
|
230
230
|
ignoreDefaultArgs: ['--hide-scrollbars'],
|
|
231
231
|
};
|
|
232
|
+
if ((browser === null || browser === void 0 ? void 0 : browser.toLowerCase()) === 'chrome') {
|
|
233
|
+
// options.ignoreDefaultArgs.push('--disable-field-trial-config')
|
|
234
|
+
options.args.push('--disable-gpu');
|
|
235
|
+
if (process.env.CHROME_PATH) {
|
|
236
|
+
options.executablePath = process.env.CHROME_PATH;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
232
239
|
// TODO remove this once Playwright provides formal support for headless: 'new' (https://github.com/microsoft/playwright/issues/21194)
|
|
233
|
-
if (headless
|
|
240
|
+
if (headless) {
|
|
234
241
|
options.args.push('--headless=new');
|
|
235
242
|
delete options.headless;
|
|
236
243
|
options.ignoreDefaultArgs.push('--headless');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/spec-driver-playwright",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.10",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"playwright",
|
|
6
6
|
"chrome devtools protocol",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"up:framework": "echo \"$(jq '.devDependencies.playwright = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@applitools/driver": "1.
|
|
44
|
-
"@applitools/utils": "1.
|
|
43
|
+
"@applitools/driver": "1.21.1",
|
|
44
|
+
"@applitools/utils": "1.8.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@applitools/api-extractor": "^1.2.22",
|