@applitools/spec-driver-webdriver 1.0.48 → 1.0.50

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,34 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.50](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-webdriver@1.0.49...js/spec-driver-webdriver@1.0.50) (2023-11-21)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * send devtool commands in chromium ([#2039](https://github.com/applitools/eyes.sdk.javascript1/issues/2039)) ([ff42043](https://github.com/applitools/eyes.sdk.javascript1/commit/ff42043c3d9f110eb7b22ab1a8448d77859923b4))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/utils bumped to 1.6.3
14
+ #### Bug Fixes
15
+
16
+ * don't throw error for missing configuration file ([#2034](https://github.com/applitools/eyes.sdk.javascript1/issues/2034)) ([d084e7b](https://github.com/applitools/eyes.sdk.javascript1/commit/d084e7bf6e1727e3969622b4e597881f18241eb3))
17
+ * @applitools/logger bumped to 2.0.13
18
+
19
+ * @applitools/driver bumped to 1.15.1
20
+
21
+
22
+ ## [1.0.49](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-webdriver@1.0.48...js/spec-driver-webdriver@1.0.49) (2023-11-07)
23
+
24
+
25
+ ### Dependencies
26
+
27
+ * @applitools/driver bumped to 1.15.0
28
+ #### Features
29
+
30
+ * added warning when driver used with capabilities that may conflict with applitools lib workflow ([#2011](https://github.com/applitools/eyes.sdk.javascript1/issues/2011)) ([081006d](https://github.com/applitools/eyes.sdk.javascript1/commit/081006d879894db03a2713129b66586496b6eb02))
31
+
3
32
  ## [1.0.48](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-webdriver@1.0.47...js/spec-driver-webdriver@1.0.48) (2023-10-17)
4
33
 
5
34
 
@@ -213,6 +213,17 @@ function toDriver(driver) {
213
213
  ref: '',
214
214
  }),
215
215
  },
216
+ sendCommandAndGetResult: {
217
+ value: command('POST', '/session/:sessionId/chromium/send_command_and_get_result', {
218
+ command: 'sendCommandAndGetResult',
219
+ parameters: [
220
+ { name: 'cmd', type: 'string', required: true, description: '' },
221
+ { name: 'params', type: 'object', required: true, description: '' },
222
+ ],
223
+ description: 'Send a command to the DevTools debugger and wait for the result.',
224
+ ref: '',
225
+ }),
226
+ },
216
227
  });
217
228
  attachedDriver.original = driver.original;
218
229
  return attachedDriver;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/spec-driver-webdriver",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "keywords": [
5
5
  "webdriver",
6
6
  "chrome devtools protocol",
@@ -44,13 +44,13 @@
44
44
  "scripts": {
45
45
  "lint": "run --top-level eslint '**/*.ts'",
46
46
  "build": "run --top-level tspc --project ./tsconfig.build.json",
47
- "test": "run --top-level mocha './test/**/*.spec.ts' -r @applitools/test-utils/mocha-hooks/docker --exit",
47
+ "test": "run --top-level mocha './test/**/*.spec.ts' --exit",
48
48
  "setup": "run --top-level browsers:setup",
49
- "up:framework": "yarn add --dev --caret webdriver${APPLITOOLS_FRAMEWORK_VERSION:+@$APPLITOOLS_FRAMEWORK_VERSION}"
49
+ "up:framework": "echo \"$(jq '.devDependencies.webdriver = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
50
50
  },
51
51
  "dependencies": {
52
- "@applitools/driver": "1.14.4",
53
- "@applitools/utils": "1.6.2",
52
+ "@applitools/driver": "1.15.1",
53
+ "@applitools/utils": "1.6.3",
54
54
  "http-proxy-agent": "5.0.0",
55
55
  "https-proxy-agent": "5.0.1"
56
56
  },