@applitools/screenshoter
Advanced tools
Comparing version 3.3.9 to 3.3.10
@@ -7,2 +7,6 @@ | ||
## 3.3.10 - 2022/2/16 | ||
- do not perform initial scrolling in `takeStitchedScreenshot` | ||
## 3.3.9 - 2022/2/16 | ||
@@ -9,0 +13,0 @@ |
{ | ||
"name": "@applitools/screenshoter", | ||
"version": "3.3.9", | ||
"version": "3.3.10", | ||
"description": "Applitools universal screenshoter for web and native applications", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -24,3 +24,3 @@ const utils = require('@applitools/utils') | ||
const initialOffset = region ? utils.geometry.location(region) : {x: 0, y: 0} | ||
const actualOffset = await scroller.moveTo(initialOffset) | ||
const actualOffset = await scroller.getInnerOffset() | ||
const expectedRemainingOffset = utils.geometry.offsetNegative(initialOffset, actualOffset) | ||
@@ -38,3 +38,3 @@ | ||
const targetRegion = region | ||
? utils.geometry.intersect(utils.geometry.region(await scroller.getInnerOffset(), scrollerRegion), region) | ||
? utils.geometry.intersect(utils.geometry.region(actualOffset, scrollerRegion), region) | ||
: scrollerRegion | ||
@@ -41,0 +41,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
70739