@applitools/spec-driver-playwright 1.8.4 → 1.9.0

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,67 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.9.0](https://github.com/Applitools-Dev/sdk/compare/js/spec-driver-playwright@1.8.5...js/spec-driver-playwright@1.9.0) (2026-05-05)
4
+
5
+
6
+ ### Features
7
+
8
+ * add bypassCSP support for UFG snapshot capture ([#3783](https://github.com/Applitools-Dev/sdk/issues/3783)) ([9e98933](https://github.com/Applitools-Dev/sdk/commit/9e98933b8ffba2ad1928aa2b2110e9a25209a599))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/dom-shared bumped to 1.2.0
14
+ #### Features
15
+
16
+ * add bypassCSP support for UFG snapshot capture ([#3783](https://github.com/Applitools-Dev/sdk/issues/3783)) ([9e98933](https://github.com/Applitools-Dev/sdk/commit/9e98933b8ffba2ad1928aa2b2110e9a25209a599))
17
+ * @applitools/snippets bumped to 2.9.0
18
+ #### Features
19
+
20
+ * add bypassCSP support for UFG snapshot capture ([#3783](https://github.com/Applitools-Dev/sdk/issues/3783)) ([9e98933](https://github.com/Applitools-Dev/sdk/commit/9e98933b8ffba2ad1928aa2b2110e9a25209a599))
21
+
22
+
23
+
24
+ * @applitools/driver bumped to 1.26.0
25
+ #### Features
26
+
27
+ * add bypassCSP support for UFG snapshot capture ([#3783](https://github.com/Applitools-Dev/sdk/issues/3783)) ([9e98933](https://github.com/Applitools-Dev/sdk/commit/9e98933b8ffba2ad1928aa2b2110e9a25209a599))
28
+
29
+
30
+
31
+
32
+ ## [1.8.5](https://github.com/Applitools-Dev/sdk/compare/js/spec-driver-playwright@1.8.4...js/spec-driver-playwright@1.8.5) (2026-04-16)
33
+
34
+
35
+ ### Bug Fixes
36
+
37
+ * remediate npm security vulnerabilities (FLD-4179) ([#3764](https://github.com/Applitools-Dev/sdk/issues/3764)) ([4bc0ef9](https://github.com/Applitools-Dev/sdk/commit/4bc0ef915e8ad606627c6074de582bec53397738))
38
+
39
+
40
+ ### Dependencies
41
+
42
+ * @applitools/utils bumped to 1.14.4
43
+ #### Bug Fixes
44
+
45
+ * remediate npm security vulnerabilities (FLD-4179) ([#3764](https://github.com/Applitools-Dev/sdk/issues/3764)) ([4bc0ef9](https://github.com/Applitools-Dev/sdk/commit/4bc0ef915e8ad606627c6074de582bec53397738))
46
+ * @applitools/logger bumped to 2.2.11
47
+ #### Bug Fixes
48
+
49
+ * remediate npm security vulnerabilities (FLD-4179) ([#3764](https://github.com/Applitools-Dev/sdk/issues/3764)) ([4bc0ef9](https://github.com/Applitools-Dev/sdk/commit/4bc0ef915e8ad606627c6074de582bec53397738))
50
+
51
+
52
+
53
+ * @applitools/snippets bumped to 2.8.2
54
+ #### Bug Fixes
55
+
56
+ * remediate npm security vulnerabilities (FLD-4179) ([#3764](https://github.com/Applitools-Dev/sdk/issues/3764)) ([4bc0ef9](https://github.com/Applitools-Dev/sdk/commit/4bc0ef915e8ad606627c6074de582bec53397738))
57
+ * @applitools/driver bumped to 1.25.5
58
+ #### Bug Fixes
59
+
60
+ * remediate npm security vulnerabilities (FLD-4179) ([#3764](https://github.com/Applitools-Dev/sdk/issues/3764)) ([4bc0ef9](https://github.com/Applitools-Dev/sdk/commit/4bc0ef915e8ad606627c6074de582bec53397738))
61
+
62
+
63
+
64
+
3
65
  ## [1.8.4](https://github.com/Applitools-Dev/sdk/compare/js/spec-driver-playwright@1.8.3...js/spec-driver-playwright@1.8.4) (2026-03-29)
4
66
 
5
67
 
@@ -123,6 +123,19 @@ async function executeBrowserCommands(page, commands, logger) {
123
123
  });
124
124
  }
125
125
  break;
126
+ case 'Page.setBypassCSP':
127
+ if (currentCommand.params) {
128
+ const browser = page.context().browser();
129
+ if ((browser === null || browser === void 0 ? void 0 : browser.browserType().name()) === 'chromium') {
130
+ // Keep the session open — Page.setBypassCSP is session-scoped in Chrome
131
+ const bypassSession = await page.context().newCDPSession(page);
132
+ await bypassSession.send('Page.setBypassCSP', currentCommand.params);
133
+ }
134
+ else {
135
+ logger === null || logger === void 0 ? void 0 : logger.info('Page.setBypassCSP not supported on this browser');
136
+ }
137
+ }
138
+ break;
126
139
  default:
127
140
  native = false;
128
141
  const browser = page.context().browser();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/spec-driver-playwright",
3
- "version": "1.8.4",
3
+ "version": "1.9.0",
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.25.4",
44
- "@applitools/utils": "1.14.3"
43
+ "@applitools/driver": "1.26.0",
44
+ "@applitools/utils": "1.14.4"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@applitools/api-extractor": "^1.2.22",