@applitools/driver
Advanced tools
Comparing version 1.14.3 to 1.14.4
# Changelog | ||
## [1.14.4](https://github.com/applitools/eyes.sdk.javascript1/compare/js/driver@1.14.3...js/driver@1.14.4) (2023-10-17) | ||
### Code Refactoring | ||
* disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758)) | ||
### Dependencies | ||
* @applitools/utils bumped to 1.6.2 | ||
#### Code Refactoring | ||
* disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758)) | ||
* @applitools/logger bumped to 2.0.12 | ||
#### Code Refactoring | ||
* disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758)) | ||
## [1.14.3](https://github.com/applitools/eyes.sdk.javascript1/compare/js/driver@1.14.2...js/driver@1.14.3) (2023-09-29) | ||
@@ -4,0 +26,0 @@ |
@@ -148,3 +148,5 @@ "use strict"; | ||
return result.then(async (result) => { | ||
const root = await this._spec.executeScript(this.target, snippets.getShadowRoot, [element]); | ||
const root = await this._spec.executeScript(this.target, snippets.getShadowRoot, [ | ||
element, | ||
]); | ||
return result.concat(root ? await this._findElements(selector.shadow, { parent: root, all, wait }) : []); | ||
@@ -151,0 +153,0 @@ }); |
@@ -30,2 +30,3 @@ "use strict"; | ||
const selector_1 = require("./selector"); | ||
const buffer_1 = require("buffer"); | ||
const helper_ios_1 = require("./helper-ios"); | ||
@@ -516,3 +517,3 @@ const helper_android_1 = require("./helper-android"); | ||
await this._spec.switchWorld(this.target, name); | ||
this.refresh({ reset: true }); | ||
await this.refresh({ reset: true }); | ||
} | ||
@@ -644,3 +645,3 @@ catch (error) { | ||
if (utils.types.isString(image)) { | ||
return Buffer.from(image.replace(/[\r\n]+/g, ''), 'base64'); | ||
return buffer_1.Buffer.from(image.replace(/[\r\n]+/g, ''), 'base64'); | ||
} | ||
@@ -647,0 +648,0 @@ return image; |
{ | ||
"name": "@applitools/driver", | ||
"version": "1.14.3", | ||
"version": "1.14.4", | ||
"description": "Applitools universal framework wrapper", | ||
@@ -76,5 +76,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@applitools/logger": "2.0.11", | ||
"@applitools/logger": "2.0.12", | ||
"@applitools/snippets": "2.4.24", | ||
"@applitools/utils": "1.6.1", | ||
"@applitools/utils": "1.6.2", | ||
"semver": "7.5.4" | ||
@@ -81,0 +81,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
261811
4210
+ Added@applitools/logger@2.0.12(transitive)
+ Added@applitools/utils@1.6.2(transitive)
- Removed@applitools/logger@2.0.11(transitive)
- Removed@applitools/utils@1.6.1(transitive)
Updated@applitools/logger@2.0.12
Updated@applitools/utils@1.6.2