@wdio/globals
Advanced tools
Comparing version 8.33.1 to 9.0.0-alpha.0
{ | ||
"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]> | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
13750
247
1