@percy/webdriver-utils
Advanced tools
Comparing version 1.28.0-beta.1 to 1.28.0
@@ -89,3 +89,3 @@ import utils from '@percy/sdk-utils'; | ||
try { | ||
var _this$buildInfo; | ||
var _this$buildInfo, _this$options; | ||
await this.browserstackExecutor('percyScreenshot', { | ||
@@ -96,3 +96,4 @@ name, | ||
statusMessage: error ? `${error}` : '', | ||
state: 'end' | ||
state: 'end', | ||
sync: (_this$options = this.options) === null || _this$options === void 0 ? void 0 : _this$options.sync | ||
}); | ||
@@ -106,7 +107,7 @@ } catch (e) { | ||
async getTiles(fullscreen) { | ||
var _this$options; | ||
var _this$options2; | ||
if (!this.driver) throw new Error('Driver is null, please initialize driver with createDriver().'); | ||
log.debug('Starting actual screenshotting phase'); | ||
const dpr = await this.metaData.devicePixelRatio(); | ||
const screenshotType = (_this$options = this.options) !== null && _this$options !== void 0 && _this$options.fullPage ? 'fullpage' : 'singlepage'; | ||
const screenshotType = (_this$options2 = this.options) !== null && _this$options2 !== void 0 && _this$options2.fullPage ? 'fullpage' : 'singlepage'; | ||
const response = await TimeIt.run('percyScreenshot:screenshot', async () => { | ||
@@ -113,0 +114,0 @@ return await this.browserstackExecutor('percyScreenshot', { |
{ | ||
"name": "@percy/webdriver-utils", | ||
"version": "1.28.0-beta.1", | ||
"version": "1.28.0", | ||
"license": "MIT", | ||
@@ -12,3 +12,3 @@ "repository": { | ||
"access": "public", | ||
"tag": "beta" | ||
"tag": "latest" | ||
}, | ||
@@ -33,6 +33,6 @@ "engines": { | ||
"dependencies": { | ||
"@percy/config": "1.28.0-beta.1", | ||
"@percy/sdk-utils": "1.28.0-beta.1" | ||
"@percy/config": "1.28.0", | ||
"@percy/sdk-utils": "1.28.0" | ||
}, | ||
"gitHead": "726fe9b1688c640a4806623d1d34aaafeb79d8c7" | ||
"gitHead": "9d95f18e45e37aa3683e5b8276fd85cf07dba8cb" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
41258
1001
1
+ Added@percy/config@1.28.0(transitive)
+ Added@percy/logger@1.28.0(transitive)
+ Added@percy/sdk-utils@1.28.0(transitive)
- Removed@percy/config@1.28.0-beta.1(transitive)
- Removed@percy/logger@1.28.0-beta.1(transitive)
- Removed@percy/sdk-utils@1.28.0-beta.1(transitive)
Updated@percy/config@1.28.0
Updated@percy/sdk-utils@1.28.0