@percy/webdriver-utils
Advanced tools
Comparing version 1.27.0-beta.2 to 1.27.0
@@ -34,2 +34,3 @@ import ProviderResolver from './providers/providerResolver.js'; | ||
try { | ||
const startTime = Date.now(); | ||
this.log.info(`[${this.snapshotName}] : Starting automate screenshot ...`); | ||
@@ -40,3 +41,6 @@ const automate = ProviderResolver.resolve(this.sessionId, this.commandExecutorUrl, this.capabilities, this.sessionCapabilites, this.clientInfo, this.environmentInfo, this.options, this.buildInfo); | ||
this.log.debug(`[${this.snapshotName}] : Created driver ...`); | ||
return await automate.screenshot(this.snapshotName, this.options); | ||
const comparisonData = await automate.screenshot(this.snapshotName, this.options); | ||
comparisonData.metadata.cliScreenshotStartTime = startTime; | ||
comparisonData.metadata.cliScreenshotEndTime = Date.now(); | ||
return comparisonData; | ||
} catch (e) { | ||
@@ -43,0 +47,0 @@ this.log.error(`[${this.snapshotName}] : Error - ${e.message}`); |
{ | ||
"name": "@percy/webdriver-utils", | ||
"version": "1.27.0-beta.2", | ||
"version": "1.27.0", | ||
"license": "MIT", | ||
@@ -12,3 +12,3 @@ "repository": { | ||
"access": "public", | ||
"tag": "beta" | ||
"tag": "latest" | ||
}, | ||
@@ -33,6 +33,6 @@ "engines": { | ||
"dependencies": { | ||
"@percy/config": "1.27.0-beta.2", | ||
"@percy/sdk-utils": "1.27.0-beta.2" | ||
"@percy/config": "1.27.0", | ||
"@percy/sdk-utils": "1.27.0" | ||
}, | ||
"gitHead": "bac46d4a3352884d4466cbc543ea599af33536ca" | ||
"gitHead": "3b92a894d4cf6dcdedccf42b86aaf61f331535c6" | ||
} |
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
35684
871
1
+ Added@percy/config@1.27.0(transitive)
+ Added@percy/logger@1.27.0(transitive)
+ Added@percy/sdk-utils@1.27.0(transitive)
- Removed@percy/config@1.27.0-beta.2(transitive)
- Removed@percy/logger@1.27.0-beta.2(transitive)
- Removed@percy/sdk-utils@1.27.0-beta.2(transitive)
Updated@percy/config@1.27.0
Updated@percy/sdk-utils@1.27.0