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

hermione-retry-command

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hermione-retry-command - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

5

lib/conditions/blank-screenshot/index.js

@@ -10,4 +10,5 @@ 'use strict';

module.exports = (browser, {retryCount, retryInterval}) => {
const originScreenshot = browser.screenshot.bind(browser);
const isWdioLatest = commonUtils.isWdioLatest(browser);
const commandName = isWdioLatest ? 'takeScreenshot' : 'screenshot';
const originScreenshot = browser[commandName].bind(browser);

@@ -44,3 +45,3 @@ const screenshotWithRetries = async () => {

browser.addCommand('screenshot', async () => await screenshotWithRetries(), true);
browser.addCommand(commandName, () => screenshotWithRetries(), true);
};

2

package.json
{
"name": "hermione-retry-command",
"version": "1.3.0",
"version": "1.4.0",
"description": "Plugin to retry commands in hermione",

@@ -5,0 +5,0 @@ "main": "index.js",

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