@applitools/screenshoter
Advanced tools
Comparing version 3.3.14 to 3.3.15
{ | ||
"name": "@applitools/screenshoter", | ||
"version": "3.3.14", | ||
"version": "3.3.15", | ||
"description": "Applitools universal screenshoter for web and native applications", | ||
@@ -68,4 +68,4 @@ "keywords": [ | ||
"devDependencies": { | ||
"@applitools/bongo": "^2.0.0", | ||
"@applitools/driver": "1.5.7", | ||
"@applitools/bongo": "^2.0.1", | ||
"@applitools/driver": "1.6.1", | ||
"@applitools/scripts": "1.1.0", | ||
@@ -72,0 +72,0 @@ "@applitools/spec-driver-webdriverio": "1.2.8", |
@@ -166,3 +166,14 @@ const utils = require('@applitools/utils') | ||
? {x: 0, y: 0, width: viewportSize.width, height: viewportSize.height + driver.statusBarHeight} | ||
: {top: driver.statusBarHeight, bottom: driver.navigationBarHeight, left: 0, right: 0} | ||
: { | ||
top: driver.statusBarHeight, | ||
bottom: driver.orientation === 'landscape' ? 0 : driver.navigationBarHeight, | ||
left: | ||
driver.isAndroid && driver.orientation === 'landscape' && driver.platformVersion > 7 | ||
? driver.navigationBarHeight | ||
: 0, | ||
right: | ||
driver.isAndroid && driver.orientation === 'landscape' && driver.platformVersion < 8 | ||
? driver.navigationBarHeight | ||
: 0, | ||
} | ||
image.crop(cropRegion) | ||
@@ -169,0 +180,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
69349
1263