You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@wdio/globals

Package Overview
Dependencies
Maintainers
3
Versions
223
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.33.1 to 9.0.0-alpha.0

4

cjs/package.json
{
"type": "commonjs"
"name": "@wdio/globals-cjs",
"type": "commonjs",
"private": true
}
{
"name": "@wdio/globals",
"version": "8.33.1",
"version": "9.0.0-alpha.0",
"description": "A helper utility for importing global variables directly",

@@ -26,3 +26,3 @@ "author": "Christian Bromann <mail@bromann.dev>",

"engines": {
"node": "^16.13 || >=18"
"node": ">=18"
},

@@ -47,5 +47,5 @@ "repository": {

"expect-webdriverio": "^4.11.2",
"webdriverio": "8.33.1"
"webdriverio": "9.0.0-alpha.0"
},
"gitHead": "6ee4cdd36e9f10541ede896d18b785ac9c56dacf"
"gitHead": "75d45a1efff8705785f0fbcd2379ac624d16e007"
}

@@ -17,1 +17,24 @@ type ExpectType = import('expect-webdriverio').Expect

declare var multiremotebrowser: WebdriverIO.MultiRemoteBrowser
/**
* custom environment primitives for WebdriverIO when running in a browser
*/
declare var wdio: {
/**
* This command is available when running WebdriverIO tests using `@wdio/browser-runner`.
* It allows you to execute a command in Node.js land if desired.
* @param command The command to execute
* @param args The arguments to pass to the command
* @returns The result of the command
*/
execute: <CommandName>(command: CommandName, ...args: any[]) => ReturnType<WebdriverIO.Browser[CommandName]>
/**
* This command is available when running WebdriverIO tests using `@wdio/browser-runner`.
* It allows you to execute a command in Node.js land if desired.
* @param command The command to execute
* @param scope The element id when the command needs to be executed from an element scope
* @param args The arguments to pass to the command
* @returns The result of the command
*/
executeWithScope: <CommandName>(commandName: CommandName, scope: string, ...args: any[]) => ReturnType<WebdriverIO.Browser[CommandName]>
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc