Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@percy/webdriver-utils

Package Overview
Dependencies
Maintainers
6
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@percy/webdriver-utils - npm Package Compare versions

Comparing version 1.27.0-beta.2 to 1.27.0

6

dist/index.js

@@ -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}`);

10

package.json
{
"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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc