Socket
Socket
Sign inDemoInstall

expect-webdriverio

Package Overview
Dependencies
4
Maintainers
8
Versions
97
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.11.6 to 4.11.7

2

lib/matchers/element/toBeClickable.js

@@ -9,3 +9,3 @@ import { executeCommandBe } from '../../utils.js';

});
const result = await executeCommandBe.call(this, received, el => el.isClickable(), options);
const result = await executeCommandBe.call(this, received, el => el?.isClickable(), options);
await options.afterAssertion?.({

@@ -12,0 +12,0 @@ matcherName: 'toBeClickable',

@@ -9,3 +9,3 @@ import { executeCommandBe } from '../../utils.js';

});
const result = await executeCommandBe.call(this, received, el => el.isDisplayed(), options);
const result = await executeCommandBe.call(this, received, el => el?.isDisplayed(), options);
await options.afterAssertion?.({

@@ -12,0 +12,0 @@ matcherName: 'toBeDisplayed',

@@ -9,3 +9,3 @@ import { executeCommandBe } from '../../utils.js';

});
const result = await executeCommandBe.call(this, received, el => el.isDisplayedInViewport(), options);
const result = await executeCommandBe.call(this, received, el => el?.isDisplayedInViewport(), options);
await options.afterAssertion?.({

@@ -12,0 +12,0 @@ matcherName: 'toBeDisplayedInViewport',

@@ -9,3 +9,3 @@ import { executeCommandBe } from '../../utils.js';

});
const result = await executeCommandBe.call(this, received, el => el.isEnabled(), options);
const result = await executeCommandBe.call(this, received, el => el?.isEnabled(), options);
await options.afterAssertion?.({

@@ -12,0 +12,0 @@ matcherName: 'toBeEnabled',

@@ -10,3 +10,3 @@ import { executeCommandBe, aliasFn } from '../../utils.js';

});
const result = await executeCommandBe.call(this, received, el => el.isExisting(), options);
const result = await executeCommandBe.call(this, received, el => el?.isExisting(), options);
await options.afterAssertion?.({

@@ -13,0 +13,0 @@ matcherName: 'toExist',

@@ -9,3 +9,3 @@ import { executeCommandBe } from '../../utils.js';

});
const result = await executeCommandBe.call(this, received, el => el.isFocused(), options);
const result = await executeCommandBe.call(this, received, el => el?.isFocused(), options);
await options.afterAssertion?.({

@@ -12,0 +12,0 @@ matcherName: 'toBeFocused',

@@ -9,3 +9,3 @@ import { executeCommandBe } from '../../utils.js';

});
const result = await executeCommandBe.call(this, received, el => el.isSelected(), options);
const result = await executeCommandBe.call(this, received, el => el?.isSelected(), options);
await options.afterAssertion?.({

@@ -12,0 +12,0 @@ matcherName: 'toBeSelected',

{
"name": "expect-webdriverio",
"version": "4.11.6",
"version": "4.11.7",
"author": "Mykola Grybyk <mykola.grybyk@gmail.com>",

@@ -5,0 +5,0 @@ "description": "WebdriverIO Assertion Library",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc