@applitools/core 4.61.1 → 4.63.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,161 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.63.0](https://github.com/Applitools-Dev/sdk/compare/js/core@4.62.0...js/core@4.63.0) (2026-05-19)
4
+
5
+
6
+ ### Features
7
+
8
+ * soft-deprecate CheckSettings.timeout() with telemetry [[#3705](https://github.com/Applitools-Dev/sdk/issues/3705)] ([#3805](https://github.com/Applitools-Dev/sdk/issues/3805)) ([a5d6390](https://github.com/Applitools-Dev/sdk/commit/a5d6390f17fc0380736b88cbe05dd147e66a86cf))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * avoid double-scaling environment viewport in classic mode | FLD-4359 ([#3793](https://github.com/Applitools-Dev/sdk/issues/3793)) ([246050b](https://github.com/Applitools-Dev/sdk/commit/246050b8a7984b869c068262162a69191c834947))
14
+ * http2 support via settings AD 13119 ([#3804](https://github.com/Applitools-Dev/sdk/issues/3804)) ([759d451](https://github.com/Applitools-Dev/sdk/commit/759d4518254828140aa50e2c5de14e80af0b997c))
15
+
16
+
17
+ ### Dependencies
18
+
19
+ * @applitools/snippets bumped to 2.9.1
20
+ #### Bug Fixes
21
+
22
+ * declare @babel/preset-typescript dep for sandbox build ([#3815](https://github.com/Applitools-Dev/sdk/issues/3815)) ([10c44c6](https://github.com/Applitools-Dev/sdk/commit/10c44c66635f1ed4e0361f22ecebf2221c2cc912))
23
+ * @applitools/dom-snapshot bumped to 4.17.1
24
+
25
+ * @applitools/req bumped to 1.10.1
26
+ #### Bug Fixes
27
+
28
+ * http2 support via settings AD 13119 ([#3804](https://github.com/Applitools-Dev/sdk/issues/3804)) ([759d451](https://github.com/Applitools-Dev/sdk/commit/759d4518254828140aa50e2c5de14e80af0b997c))
29
+ * @applitools/driver bumped to 1.26.1
30
+ #### Bug Fixes
31
+
32
+ * address CI regressions from executeBrowserCommands and Chromium 140+ service worker ([#3848](https://github.com/Applitools-Dev/sdk/issues/3848)) ([099ada5](https://github.com/Applitools-Dev/sdk/commit/099ada5e52d4153157b98c2203df428579527e49))
33
+
34
+
35
+
36
+ * @applitools/spec-driver-playwright bumped to 1.9.1
37
+ #### Bug Fixes
38
+
39
+ * address CI regressions from executeBrowserCommands and Chromium 140+ service worker ([#3848](https://github.com/Applitools-Dev/sdk/issues/3848)) ([099ada5](https://github.com/Applitools-Dev/sdk/commit/099ada5e52d4153157b98c2203df428579527e49))
40
+
41
+
42
+
43
+ * @applitools/ufg-client bumped to 1.22.1
44
+ #### Bug Fixes
45
+
46
+ * http2 support via settings AD 13119 ([#3804](https://github.com/Applitools-Dev/sdk/issues/3804)) ([759d451](https://github.com/Applitools-Dev/sdk/commit/759d4518254828140aa50e2c5de14e80af0b997c))
47
+
48
+
49
+
50
+ * @applitools/spec-driver-webdriver bumped to 1.6.1
51
+
52
+ * @applitools/spec-driver-selenium bumped to 1.8.1
53
+
54
+ * @applitools/spec-driver-puppeteer bumped to 1.8.1
55
+
56
+ * @applitools/screenshoter bumped to 3.12.20
57
+
58
+ * @applitools/nml-client bumped to 1.11.27
59
+
60
+ * @applitools/tunnel-client bumped to 1.11.13
61
+
62
+ * @applitools/core-base bumped to 1.34.0
63
+ #### Features
64
+
65
+ * soft-deprecate CheckSettings.timeout() with telemetry [[#3705](https://github.com/Applitools-Dev/sdk/issues/3705)] ([#3805](https://github.com/Applitools-Dev/sdk/issues/3805)) ([a5d6390](https://github.com/Applitools-Dev/sdk/commit/a5d6390f17fc0380736b88cbe05dd147e66a86cf))
66
+
67
+
68
+ #### Bug Fixes
69
+
70
+ * http2 support via settings AD 13119 ([#3804](https://github.com/Applitools-Dev/sdk/issues/3804)) ([759d451](https://github.com/Applitools-Dev/sdk/commit/759d4518254828140aa50e2c5de14e80af0b997c))
71
+
72
+
73
+
74
+ * @applitools/ec-client bumped to 1.12.29
75
+
76
+
77
+ ## [4.62.0](https://github.com/Applitools-Dev/sdk/compare/js/core@4.61.1...js/core@4.62.0) (2026-05-05)
78
+
79
+
80
+ ### Features
81
+
82
+ * 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))
83
+
84
+
85
+ ### Dependencies
86
+
87
+ * @applitools/dom-shared bumped to 1.2.0
88
+ #### Features
89
+
90
+ * 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))
91
+ * @applitools/dom-snapshot bumped to 4.17.0
92
+ #### Features
93
+
94
+ * 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))
95
+
96
+
97
+ #### Bug Fixes
98
+
99
+ * re-trigger release for dom-snapshot (FLD-4452) and mcp (AD-13206) ([#3800](https://github.com/Applitools-Dev/sdk/issues/3800)) ([105dd42](https://github.com/Applitools-Dev/sdk/commit/105dd42010a56c454752eaca69380aaba085073e))
100
+
101
+
102
+
103
+ * @applitools/snippets bumped to 2.9.0
104
+ #### Features
105
+
106
+ * 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))
107
+
108
+
109
+
110
+ * @applitools/dom-capture bumped to 11.8.0
111
+ #### Features
112
+
113
+ * 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))
114
+
115
+
116
+
117
+ * @applitools/driver bumped to 1.26.0
118
+ #### Features
119
+
120
+ * 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))
121
+
122
+
123
+
124
+ * @applitools/spec-driver-webdriver bumped to 1.6.0
125
+ #### Features
126
+
127
+ * 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))
128
+
129
+
130
+
131
+ * @applitools/spec-driver-selenium bumped to 1.8.0
132
+ #### Features
133
+
134
+ * 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))
135
+
136
+
137
+
138
+ * @applitools/spec-driver-playwright bumped to 1.9.0
139
+ #### Features
140
+
141
+ * 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))
142
+
143
+
144
+
145
+ * @applitools/spec-driver-puppeteer bumped to 1.8.0
146
+ #### Features
147
+
148
+ * 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))
149
+
150
+
151
+
152
+ * @applitools/screenshoter bumped to 3.12.19
153
+
154
+ * @applitools/nml-client bumped to 1.11.26
155
+
156
+ * @applitools/ec-client bumped to 1.12.28
157
+
158
+
3
159
  ## [4.61.1](https://github.com/Applitools-Dev/sdk/compare/js/core@4.61.0...js/core@4.61.1) (2026-05-04)
4
160
 
5
161
 
package/dist/check.js CHANGED
@@ -35,8 +35,8 @@ const chalk_1 = __importDefault(require("chalk"));
35
35
  function makeCheck({ type: defaultType = 'classic', eyes, target: defaultTarget, spec, logger: mainLogger, }) {
36
36
  let stepIndex = 0;
37
37
  return async function check({ type = defaultType, target = defaultTarget, settings, config, logger = mainLogger, } = {}) {
38
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
39
- var _r, _s, _t, _u, _v;
38
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
39
+ var _s, _t, _u, _v, _w;
40
40
  logger = logger.extend(mainLogger, { tags: [`check-${type}-${utils.general.shortid()}`] });
41
41
  settings = { ...config === null || config === void 0 ? void 0 : config.screenshot, ...config === null || config === void 0 ? void 0 : config.check, ...settings };
42
42
  (_a = settings.fully) !== null && _a !== void 0 ? _a : (settings.fully = !settings.region && (!settings.frames || settings.frames.length === 0));
@@ -56,23 +56,32 @@ function makeCheck({ type: defaultType = 'classic', eyes, target: defaultTarget,
56
56
  !utils.types.isEmpty(settings.accessibilitySettings));
57
57
  (_h = settings.autProxy) !== null && _h !== void 0 ? _h : (settings.autProxy = eyes.test.eyesServer.proxy);
58
58
  (_j = settings.useDom) !== null && _j !== void 0 ? _j : (settings.useDom = false);
59
- (_k = (_r = settings).matchTimeout) !== null && _k !== void 0 ? _k : (_r.matchTimeout = 0);
59
+ (_k = (_s = settings).matchTimeout) !== null && _k !== void 0 ? _k : (_s.matchTimeout = 0);
60
60
  settings.lazyLoad = settings.lazyLoad === true ? {} : settings.lazyLoad;
61
61
  if (settings.lazyLoad) {
62
- (_l = (_s = settings.lazyLoad).scrollLength) !== null && _l !== void 0 ? _l : (_s.scrollLength = defaults_1.DEFAULT_LAZY_LOAD.scrollLength);
63
- (_m = (_t = settings.lazyLoad).waitingTime) !== null && _m !== void 0 ? _m : (_t.waitingTime = defaults_1.DEFAULT_LAZY_LOAD.waitingTime);
64
- (_o = (_u = settings.lazyLoad).maxAmountToScroll) !== null && _o !== void 0 ? _o : (_u.maxAmountToScroll = defaults_1.DEFAULT_LAZY_LOAD.maxAmountToScroll);
62
+ (_l = (_t = settings.lazyLoad).scrollLength) !== null && _l !== void 0 ? _l : (_t.scrollLength = defaults_1.DEFAULT_LAZY_LOAD.scrollLength);
63
+ (_m = (_u = settings.lazyLoad).waitingTime) !== null && _m !== void 0 ? _m : (_u.waitingTime = defaults_1.DEFAULT_LAZY_LOAD.waitingTime);
64
+ (_o = (_v = settings.lazyLoad).maxAmountToScroll) !== null && _o !== void 0 ? _o : (_v.maxAmountToScroll = defaults_1.DEFAULT_LAZY_LOAD.maxAmountToScroll);
65
65
  }
66
66
  settings.stepIndex = stepIndex++;
67
67
  (_p = settings.waitBetweenStitches) !== null && _p !== void 0 ? _p : (settings.waitBetweenStitches = utils.types.isObject(settings.lazyLoad)
68
68
  ? settings.lazyLoad.waitingTime
69
69
  : defaults_1.DEFAULT_WAIT_BEFORE_CAPTURE);
70
70
  if (settings.mobileOptions) {
71
- (_q = (_v = settings.mobileOptions).keepNavigationBar) !== null && _q !== void 0 ? _q : (_v.keepNavigationBar = false);
71
+ (_q = (_w = settings.mobileOptions).keepNavigationBar) !== null && _q !== void 0 ? _q : (_w.keepNavigationBar = false);
72
72
  }
73
73
  if (settings.matchLevel === 'Content') {
74
74
  logger.console.log(chalk_1.default.yellow(lang.matchLevelContentDeprecatedWarning));
75
75
  }
76
+ if ((_r = settings.usedDeprecations) === null || _r === void 0 ? void 0 : _r.length) {
77
+ void eyes.core.logEvent({
78
+ settings: {
79
+ ...eyes.test.eyesServer,
80
+ level: 'Notice',
81
+ event: { type: 'SDK.deprecation', deprecations: settings.usedDeprecations },
82
+ },
83
+ });
84
+ }
76
85
  const driver = (0, driver_1.isDriver)(target, spec)
77
86
  ? await (0, driver_1.makeDriver)({ spec, driver: target, reset: target === defaultTarget, logger })
78
87
  : null;
@@ -34,8 +34,8 @@ async function extractDefaultEnvironments({ driver, settings, }) {
34
34
  try {
35
35
  const driverEnvironment = await driver.getEnvironment();
36
36
  const viewport = await driver.getViewport();
37
- const size = await driver.getViewportSize();
38
- environment.viewportSize = utils.geometry.scale(size, viewport.viewportScale);
37
+ // scale layout viewport by visualViewport.scale to get visible CSS viewport (avoids double-scaling spec drivers that already return CSS pixels)
38
+ environment.viewportSize = utils.geometry.scale(viewport.viewportSize, viewport.viewportScale);
39
39
  environment.environmentId = utils.general.guid();
40
40
  if (driverEnvironment.isEC)
41
41
  environment.ecSessionId = (_a = (await driver.getSessionId())) !== null && _a !== void 0 ? _a : undefined;
package/dist/open-eyes.js CHANGED
@@ -41,8 +41,8 @@ const types_1 = require("./types");
41
41
  function makeOpenEyes({ type: defaultType = 'classic', clients, batch, removeDuplicateTests, core, cores, spec, environment, logger: mainLogger, asyncCache, concurrency, useServerConcurrency = false, cwd = process.cwd(), }) {
42
42
  let shouldPrintConcurrencyWarning = true;
43
43
  return async function openEyes({ type = defaultType, settings: openSettings, config, target, logger = mainLogger, }) {
44
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
45
- var _1, _2, _3, _4, _5;
44
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
45
+ var _2, _3, _4, _5, _6;
46
46
  logger = logger.extend(mainLogger, { tags: [`eyes-${type}-${utils.general.shortid()}`] });
47
47
  logger.log(`Opening Eyes in directory "${cwd}"`);
48
48
  const settings = { environments: config === null || config === void 0 ? void 0 : config.check.environments, ...config === null || config === void 0 ? void 0 : config.open, ...openSettings };
@@ -51,11 +51,11 @@ function makeOpenEyes({ type: defaultType = 'classic', clients, batch, removeDup
51
51
  logger.mask(eyesServerSettings.eyesServerUrl);
52
52
  (_a = settings.userTestId) !== null && _a !== void 0 ? _a : (settings.userTestId = `${settings.testName}--${utils.general.guid()}`);
53
53
  settings.batch = { ...batch, ...settings.batch };
54
- (_b = (_1 = settings.batch).id) !== null && _b !== void 0 ? _b : (_1.id = (_c = utils.general.getEnvValue('BATCH_ID')) !== null && _c !== void 0 ? _c : `generated-${utils.general.guid()}`);
55
- (_d = (_2 = settings.batch).buildId) !== null && _d !== void 0 ? _d : (_2.buildId = utils.general.getEnvValue('BATCH_BUILD_ID'));
56
- (_e = (_3 = settings.batch).name) !== null && _e !== void 0 ? _e : (_3.name = utils.general.getEnvValue('BATCH_NAME'));
57
- (_f = (_4 = settings.batch).sequenceName) !== null && _f !== void 0 ? _f : (_4.sequenceName = utils.general.getEnvValue('BATCH_SEQUENCE'));
58
- (_g = (_5 = settings.batch).notifyOnCompletion) !== null && _g !== void 0 ? _g : (_5.notifyOnCompletion = utils.general.getEnvValue('BATCH_NOTIFY', 'boolean'));
54
+ (_b = (_2 = settings.batch).id) !== null && _b !== void 0 ? _b : (_2.id = (_c = utils.general.getEnvValue('BATCH_ID')) !== null && _c !== void 0 ? _c : `generated-${utils.general.guid()}`);
55
+ (_d = (_3 = settings.batch).buildId) !== null && _d !== void 0 ? _d : (_3.buildId = utils.general.getEnvValue('BATCH_BUILD_ID'));
56
+ (_e = (_4 = settings.batch).name) !== null && _e !== void 0 ? _e : (_4.name = utils.general.getEnvValue('BATCH_NAME'));
57
+ (_f = (_5 = settings.batch).sequenceName) !== null && _f !== void 0 ? _f : (_5.sequenceName = utils.general.getEnvValue('BATCH_SEQUENCE'));
58
+ (_g = (_6 = settings.batch).notifyOnCompletion) !== null && _g !== void 0 ? _g : (_6.notifyOnCompletion = utils.general.getEnvValue('BATCH_NOTIFY', 'boolean'));
59
59
  (_h = settings.keepBatchOpen) !== null && _h !== void 0 ? _h : (settings.keepBatchOpen = utils.general.getEnvValue('DONT_CLOSE_BATCHES', 'boolean'));
60
60
  (_j = settings.branchName) !== null && _j !== void 0 ? _j : (settings.branchName = (_k = utils.general.getEnvValue('BRANCH')) !== null && _k !== void 0 ? _k : utils.general.getEnvValue('BRANCH_NAME'));
61
61
  (_l = settings.parentBranchName) !== null && _l !== void 0 ? _l : (settings.parentBranchName = (_m = utils.general.getEnvValue('PARENT_BRANCH')) !== null && _m !== void 0 ? _m : utils.general.getEnvValue('PARENT_BRANCH_NAME'));
@@ -92,15 +92,20 @@ function makeOpenEyes({ type: defaultType = 'classic', clients, batch, removeDup
92
92
  logger.warn(`gitBranchingTimestamp is an invalid ISO date string: ${settings.gitBranchingTimestamp}`);
93
93
  settings.gitBranchingTimestamp = undefined;
94
94
  }
95
+ (_x = settings.bypassCSP) !== null && _x !== void 0 ? _x : (settings.bypassCSP = utils.general.getEnvValue('BYPASS_CSP', 'boolean') === true || undefined);
95
96
  const driver = target && (await (0, driver_1.makeDriver)({ spec, driver: target, logger, customConfig: settings }));
97
+ if (settings.bypassCSP) {
98
+ logger.warn('CSP bypass is enabled.');
99
+ await (driver === null || driver === void 0 ? void 0 : driver.setBypassCSP(true));
100
+ }
96
101
  const driverEnvironment = await (driver === null || driver === void 0 ? void 0 : driver.getEnvironment());
97
102
  const driverUrl = await (driver === null || driver === void 0 ? void 0 : driver.getDriverUrl());
98
103
  const multiDeviceTargets = [];
99
- for (const checkEnv of (_x = settings.environments) !== null && _x !== void 0 ? _x : []) {
100
- if (utils.types.has(checkEnv, 'iosDeviceInfo') && ((_y = driverEnvironment === null || driverEnvironment === void 0 ? void 0 : driverEnvironment.applitoolsLib) === null || _y === void 0 ? void 0 : _y.instrumented)) {
104
+ for (const checkEnv of (_y = settings.environments) !== null && _y !== void 0 ? _y : []) {
105
+ if (utils.types.has(checkEnv, 'iosDeviceInfo') && ((_z = driverEnvironment === null || driverEnvironment === void 0 ? void 0 : driverEnvironment.applitoolsLib) === null || _z === void 0 ? void 0 : _z.instrumented)) {
101
106
  multiDeviceTargets.push({
102
107
  deviceInfo: checkEnv.iosDeviceInfo.deviceName,
103
- orientation: (_z = checkEnv.iosDeviceInfo.screenOrientation) !== null && _z !== void 0 ? _z : 'portrait',
108
+ orientation: (_0 = checkEnv.iosDeviceInfo.screenOrientation) !== null && _0 !== void 0 ? _0 : 'portrait',
104
109
  });
105
110
  }
106
111
  }
@@ -130,7 +135,7 @@ function makeOpenEyes({ type: defaultType = 'classic', clients, batch, removeDup
130
135
  browserVersion: driverEnvironment === null || driverEnvironment === void 0 ? void 0 : driverEnvironment.browserVersion,
131
136
  platformName: driverEnvironment === null || driverEnvironment === void 0 ? void 0 : driverEnvironment.platformName,
132
137
  platformVersion: driverEnvironment === null || driverEnvironment === void 0 ? void 0 : driverEnvironment.platformVersion,
133
- isApplitoolsLib: (_0 = driverEnvironment === null || driverEnvironment === void 0 ? void 0 : driverEnvironment.applitoolsLib) === null || _0 === void 0 ? void 0 : _0.instrumented,
138
+ isApplitoolsLib: (_1 = driverEnvironment === null || driverEnvironment === void 0 ? void 0 : driverEnvironment.applitoolsLib) === null || _1 === void 0 ? void 0 : _1.instrumented,
134
139
  isEC: driverEnvironment === null || driverEnvironment === void 0 ? void 0 : driverEnvironment.isEC,
135
140
  },
136
141
  driverUrl,
package/dist/ufg/check.js CHANGED
@@ -52,6 +52,7 @@ function makeCheck({ eyes, target: defaultTarget, environments: defaultEnvironme
52
52
  ...eyes.test.ufgServer,
53
53
  eyesServerUrl: eyes.test.eyesServer.eyesServerUrl,
54
54
  apiKey: eyes.test.eyesServer.apiKey,
55
+ httpVersion: eyes.test.eyesServer.httpVersion,
55
56
  },
56
57
  logger,
57
58
  });
@@ -16,6 +16,7 @@ async function createRenderTargetFromSnapshot({ ufgClient, snapshot, logger, url
16
16
  proxy: snapshot.account.eyesServer.proxy,
17
17
  autProxy: snapshot.settings.autProxy,
18
18
  skipRootHtmlResource: snapshot.settings.skipRootHtmlResource,
19
+ httpVersion: snapshot.settings.httpVersion,
19
20
  },
20
21
  logger,
21
22
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/core",
3
- "version": "4.61.1",
3
+ "version": "4.63.0",
4
4
  "homepage": "https://applitools.com",
5
5
  "bugs": {
6
6
  "url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
@@ -56,22 +56,23 @@
56
56
  "test:it": "MOCHA_GROUP=it run --top-level mocha './test/it/**/*.spec.ts' --require ./test/mocha-global-setup.js",
57
57
  "test:e2e:sync": "MOCHA_GROUP=e2e SYNC=true run --top-level mocha './test/e2e/mocha-sync/**/*.spec.ts' --exit --require ./test/mocha-global-setup.js",
58
58
  "test:unit": "MOCHA_GROUP=unit run --top-level mocha './test/unit/**/*.spec.ts' --require ./test/mocha-global-setup.js",
59
- "setup": "run --top-level browsers:setup && run --top-level xvfb:setup",
59
+ "setup": "run --top-level browsers:setup && run --top-level xvfb:setup && run playwright:setup",
60
+ "playwright:setup": "node -e \"var v=parseInt(process.version.slice(1));if(v>=18){require('child_process').execSync('yarn playwright install --with-deps firefox',{stdio:'inherit'})}else{console.log('Skipping playwright install (Node '+process.version+')')}\"",
60
61
  "setup:standalone": "sh -c 'yarn chromedriver --port=4444 --verbose &'"
61
62
  },
62
63
  "dependencies": {
63
- "@applitools/core-base": "1.33.0",
64
- "@applitools/dom-capture": "11.7.1",
65
- "@applitools/dom-snapshot": "4.16.4",
66
- "@applitools/driver": "1.25.5",
67
- "@applitools/ec-client": "1.12.27",
64
+ "@applitools/core-base": "1.34.0",
65
+ "@applitools/dom-capture": "11.8.0",
66
+ "@applitools/dom-snapshot": "4.17.1",
67
+ "@applitools/driver": "1.26.1",
68
+ "@applitools/ec-client": "1.12.29",
68
69
  "@applitools/logger": "2.2.11",
69
- "@applitools/nml-client": "1.11.25",
70
- "@applitools/req": "1.10.0",
71
- "@applitools/screenshoter": "3.12.18",
72
- "@applitools/snippets": "2.8.2",
70
+ "@applitools/nml-client": "1.11.27",
71
+ "@applitools/req": "1.10.1",
72
+ "@applitools/screenshoter": "3.12.20",
73
+ "@applitools/snippets": "2.9.1",
73
74
  "@applitools/socket": "1.3.12",
74
- "@applitools/ufg-client": "1.22.0",
75
+ "@applitools/ufg-client": "1.22.1",
75
76
  "@applitools/utils": "1.14.4",
76
77
  "abort-controller": "3.0.0",
77
78
  "chalk": "4.1.2",
@@ -81,21 +82,28 @@
81
82
  },
82
83
  "devDependencies": {
83
84
  "@applitools/bongo": "^5.10.0",
84
- "@applitools/spec-driver-puppeteer": "^1.7.5",
85
- "@applitools/spec-driver-selenium": "^1.7.16",
85
+ "@applitools/spec-driver-playwright": "^1.9.1",
86
+ "@applitools/spec-driver-puppeteer": "^1.8.1",
87
+ "@applitools/spec-driver-selenium": "^1.8.1",
86
88
  "@applitools/test-server": "^1.4.3",
87
89
  "@applitools/test-utils": "^1.5.17",
88
- "@applitools/tunnel-client": "^1.11.12",
90
+ "@applitools/tunnel-client": "^1.11.13",
91
+ "@swc-node/register": "^1.6.8",
89
92
  "@types/mocha": "^10.0.7",
90
93
  "@types/node": "^12.20.55",
91
94
  "@types/selenium-webdriver": "^4.1.2",
92
95
  "@types/semver": "^7.5.8",
96
+ "chai": "^4.2.0",
93
97
  "chromedriver": "^131.0.5",
94
98
  "crypto": "^1.0.1",
99
+ "express": "^4.10.6",
100
+ "mocha": "^11.7.5",
95
101
  "nock": "^13.3.2",
102
+ "playwright": "1.47.0",
96
103
  "png-async": "^0.9.4",
97
104
  "puppeteer": "^24.11.1",
98
- "selenium-webdriver": "^4.15.0"
105
+ "selenium-webdriver": "^4.15.0",
106
+ "webdriver": "^5.23.0"
99
107
  },
100
108
  "engines": {
101
109
  "node": ">=12.13.0"
@@ -110,6 +118,7 @@
110
118
  "ws>bufferutil": false,
111
119
  "ws>utf-8-validate": false,
112
120
  "@applitools/core-base>@applitools/image>sharp": false,
121
+ "@swc-node/register>@swc/core": false,
113
122
  "selenium-webdriver>ws>bufferutil": false,
114
123
  "selenium-webdriver>ws>utf-8-validate": false
115
124
  }
@@ -179,4 +179,5 @@ export type TestResult = BaseCore.TestResult & {
179
179
  export type OpenSettings = BaseCore.OpenSettings & {
180
180
  disableBrokerUrlCache?: boolean;
181
181
  environments?: Environment[];
182
+ bypassCSP?: boolean;
182
183
  };