@applitools/driver
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -7,6 +7,6 @@ { | ||
"version": "file:../dry-run.tgz", | ||
"integrity": "sha512-dNSwwmwf0t8nc/w6wCUWMtFxKJfiMzZumhE5uRlpvitu0l22DU0VPa940AfcfzQNivnoEQBy0VKsI0Nqj+besg==", | ||
"integrity": "sha512-Dpobb1JiG0th4CbT13OuchQ+JeDMWTCpdU2SXXjY5t/EXOh6pVmRK84b0RRNfJcwppepCchB+y4lALOWGA7HEQ==", | ||
"requires": { | ||
"@applitools/snippets": "2.1.7", | ||
"@applitools/types": "1.0.13", | ||
"@applitools/types": "1.0.14", | ||
"@applitools/utils": "1.2.3" | ||
@@ -21,5 +21,5 @@ } | ||
"@applitools/types": { | ||
"version": "1.0.13", | ||
"resolved": "https://registry.npmjs.org/@applitools/types/-/types-1.0.13.tgz", | ||
"integrity": "sha512-LypJhuCxs0/FafnQoV7XDUuDAoF73Q16ZwbUIUwzKPYyO42oAuAKq1UaO5uJVOG+m07aFXb7RpbYMQZ8MuUQGg==" | ||
"version": "1.0.14", | ||
"resolved": "https://registry.npmjs.org/@applitools/types/-/types-1.0.14.tgz", | ||
"integrity": "sha512-Exfi8EOGGBwpRpaLizXmsUXInXGXNU26qup7AjLJSJLYETwn3Q3W+0aLHBUbdFA87w9fPCQjXJuZxJgqsNpVig==" | ||
}, | ||
@@ -26,0 +26,0 @@ "@applitools/utils": { |
@@ -6,2 +6,6 @@ # Change Log | ||
## 1.2.3 - 2021/9/24 | ||
- updated to @applitools/types@1.0.14 (from 1.0.13) | ||
## 1.2.2 - 2021/9/10 | ||
@@ -8,0 +12,0 @@ |
@@ -306,3 +306,3 @@ "use strict"; | ||
continue; | ||
const context = await this.currentContext.context(reference); | ||
const context = await this.currentContext.context(reference instanceof context_1.Context ? await reference.getContextElement() : reference); | ||
await context.focus(); | ||
@@ -309,0 +309,0 @@ } |
{ | ||
"name": "@applitools/driver", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Applitools universal framework wrapper", | ||
@@ -48,3 +48,3 @@ "keywords": [ | ||
"@applitools/snippets": "2.1.7", | ||
"@applitools/types": "1.0.13", | ||
"@applitools/types": "1.0.14", | ||
"@applitools/utils": "1.2.3" | ||
@@ -51,0 +51,0 @@ }, |
@@ -12,2 +12,3 @@ import type * as types from '@applitools/types' | ||
| Context<TDriver, TContext, TElement, TSelector> | ||
| Element<TDriver, TContext, TElement, TSelector> | ||
| TElement | ||
@@ -14,0 +15,0 @@ | types.Selector<TSelector> |
@@ -319,3 +319,5 @@ import type * as types from '@applitools/types' | ||
if (reference === this.mainContext) continue | ||
const context = await this.currentContext.context(reference) | ||
const context = await this.currentContext.context( | ||
reference instanceof Context ? await reference.getContextElement() : reference, | ||
) | ||
await context.focus() | ||
@@ -322,0 +324,0 @@ } |
Sorry, the diff of this file is not supported yet
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
250798
4518
+ Added@applitools/types@1.0.14(transitive)
- Removed@applitools/types@1.0.13(transitive)
Updated@applitools/types@1.0.14