@applitools/spec-driver-webdriver 1.0.53 → 1.0.54

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,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.54](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-webdriver@1.0.53...js/spec-driver-webdriver@1.0.54) (2023-12-19)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * fixed extraction of the driver server url ([ddc6449](https://github.com/applitools/eyes.sdk.javascript1/commit/ddc6449fc72166ab26c99e9ba7bb83c05fd591d6))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/driver bumped to 1.16.1
14
+ #### Bug Fixes
15
+
16
+ * fixed bug with screenshot not being properly scaled on ios devices with appium 2 ([#2092](https://github.com/applitools/eyes.sdk.javascript1/issues/2092)) ([26678bf](https://github.com/applitools/eyes.sdk.javascript1/commit/26678bfe254def506ea82e6a645519d6567fb3fd))
17
+ * fixed extraction of the driver server url ([ddc6449](https://github.com/applitools/eyes.sdk.javascript1/commit/ddc6449fc72166ab26c99e9ba7bb83c05fd591d6))
18
+ * fixed infinite loop that may appear during attribute extraction ([#2102](https://github.com/applitools/eyes.sdk.javascript1/issues/2102)) ([6bef680](https://github.com/applitools/eyes.sdk.javascript1/commit/6bef680fbd2d5c26a46cf2a4f00bd083d1d02109))
19
+
3
20
  ## [1.0.53](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-webdriver@1.0.52...js/spec-driver-webdriver@1.0.53) (2023-12-18)
4
21
 
5
22
 
@@ -339,7 +339,9 @@ async function childContext(driver, element) {
339
339
  }
340
340
  exports.childContext = childContext;
341
341
  async function getDriverInfo(driver) {
342
- return { sessionId: driver.sessionId };
342
+ var _a;
343
+ const driverServerUrl = `${driver.options.protocol}://${driver.options.hostname}${driver.options.port ? `:${driver.options.port}` : ''}${(_a = driver.options.path) !== null && _a !== void 0 ? _a : ''}`;
344
+ return { sessionId: driver.sessionId, driverServerUrl };
343
345
  }
344
346
  exports.getDriverInfo = getDriverInfo;
345
347
  async function getCapabilities(driver) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/spec-driver-webdriver",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "keywords": [
5
5
  "webdriver",
6
6
  "chrome devtools protocol",
@@ -49,7 +49,7 @@
49
49
  "up:framework": "echo \"$(jq '.devDependencies.webdriver = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
50
50
  },
51
51
  "dependencies": {
52
- "@applitools/driver": "1.16.0",
52
+ "@applitools/driver": "1.16.1",
53
53
  "@applitools/utils": "1.7.0",
54
54
  "http-proxy-agent": "5.0.0",
55
55
  "https-proxy-agent": "5.0.1"