@applitools/driver
Advanced tools
Comparing version 1.19.3 to 1.19.4
# Changelog | ||
## [1.19.4](https://github.com/Applitools-Dev/sdk/compare/js/driver@1.19.3...js/driver@1.19.4) (2024-10-28) | ||
### Bug Fixes | ||
* better handling of stale elements ([cab10ff](https://github.com/Applitools-Dev/sdk/commit/cab10ff1ae1e6f9560a7d278c710b3fa03f58c83)) | ||
### Dependencies | ||
* @applitools/snippets bumped to 2.5.2 | ||
#### Bug Fixes | ||
* better handling of stale elements ([cab10ff](https://github.com/Applitools-Dev/sdk/commit/cab10ff1ae1e6f9560a7d278c710b3fa03f58c83)) | ||
## [1.19.3](https://github.com/Applitools-Dev/sdk/compare/js/driver@1.19.2...js/driver@1.19.3) (2024-10-21) | ||
@@ -4,0 +19,0 @@ |
@@ -312,2 +312,5 @@ "use strict"; | ||
} | ||
else if (selectorOrElement === undefined) { | ||
throw new TypeError('Cannot find undefined elements!'); | ||
} | ||
else { | ||
@@ -314,0 +317,0 @@ throw new TypeError('Cannot find elements using argument of unknown type!'); |
@@ -148,4 +148,4 @@ "use strict"; | ||
element.attributes = element.attributes || []; | ||
element.attributes.push({ name: 'data-applitools-marker', value: id }); | ||
return [`[data-applitools-marker~="${id}"]`]; // no shadow is mocked here | ||
element.attributes.push({ name: 'data-applitools-selector', value: id }); | ||
return [`[data-applitools-selector~="${id}"]`]; // no shadow is mocked here | ||
})); | ||
@@ -155,3 +155,3 @@ }); | ||
for (const el of elements) { | ||
el.attributes.splice(el.attributes.findIndex(({ name }) => name === 'data-applitools-marker'), 1); | ||
el.attributes.splice(el.attributes.findIndex(({ name }) => name === 'data-applitools-selector'), 1); | ||
} | ||
@@ -158,0 +158,0 @@ }); |
{ | ||
"name": "@applitools/driver", | ||
"version": "1.19.3", | ||
"version": "1.19.4", | ||
"description": "Applitools universal framework wrapper", | ||
@@ -77,3 +77,3 @@ "keywords": [ | ||
"@applitools/logger": "2.0.18", | ||
"@applitools/snippets": "2.5.1", | ||
"@applitools/snippets": "2.5.2", | ||
"@applitools/utils": "1.7.4", | ||
@@ -80,0 +80,0 @@ "semver": "7.6.2" |
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
281414
4388
+ Added@applitools/snippets@2.5.2(transitive)
- Removed@applitools/snippets@2.5.1(transitive)
Updated@applitools/snippets@2.5.2