@applitools/screenshoter
Advanced tools
Comparing version 3.3.20 to 3.3.21
{ | ||
"name": "@applitools/screenshoter", | ||
"version": "3.3.20", | ||
"version": "3.3.21", | ||
"description": "Applitools universal screenshoter for web and native applications", | ||
@@ -70,3 +70,3 @@ "keywords": [ | ||
"@applitools/bongo": "^2.0.3", | ||
"@applitools/driver": "^1.8.10", | ||
"@applitools/driver": "^1.8.11", | ||
"@applitools/scripts": "1.1.0", | ||
@@ -73,0 +73,0 @@ "@applitools/spec-driver-webdriverio": "1.2.9", |
@@ -34,3 +34,5 @@ const utils = require('@applitools/utils') | ||
const scrollingElement = await elementContext.getScrollingElement() | ||
if (scrollingElement) await scrollingElement.scrollTo(await element.getRegion()) | ||
if (scrollingElement && (await scrollingElement.contains(element))) { | ||
await scrollingElement.scrollTo(await element.getRegion()) | ||
} | ||
} | ||
@@ -37,0 +39,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
69939
1251