@wdio/cli
- Version 9.19.1
- Published
- 94.9 kB
- 20 dependencies
- MIT license
Install
npm i @wdio/cli
yarn add @wdio/cli
pnpm add @wdio/cli
Overview
WebdriverIO testrunner command line interface
Index
Functions
Classes
Interfaces
Type Aliases
Functions
function run
run: () => Promise<void>;
Classes
class Launcher
class Launcher {}
constructor
constructor( _configFilePath: string, _args?: Partial<RunCommandArguments>, _isWatchMode?: boolean);
property configParser
configParser: ConfigParser;
property interface
interface?: CLInterface;
property isMultiremote
isMultiremote: boolean;
property isParallelMultiremote
isParallelMultiremote: boolean;
property runner
runner?: Services.RunnerInstance;
method initialize
initialize: () => Promise<void>;
initialize launcher by loading
tsx
if needed
method run
run: () => Promise<undefined | number>;
run sequence {Promise} that only gets resolved with either an exitCode or an error
Interfaces
interface InstallCommandArguments
interface InstallCommandArguments {}
interface OnCompleteResult
interface OnCompleteResult {}
interface ProjectProps
interface ProjectProps {}
property esmSupported
esmSupported: boolean;
property packageJson
packageJson: NormalizedPackageJson;
property path
path: string;
interface ReplCommandArguments
interface ReplCommandArguments {}
property capabilities
capabilities: string;
property deviceName
deviceName: string;
property option
option: string;
property platformVersion
platformVersion: string;
property udid
udid: string;
interface RunCommandArguments
interface RunCommandArguments {}
property bail
bail?: number;
property baseUrl
baseUrl?: string;
property configPath
configPath: string;
property coverage
coverage?: boolean;
property cucumberOpts
cucumberOpts?: WebdriverIO.CucumberOpts;
property exclude
exclude?: string[];
property framework
framework?: string;
property hostname
hostname?: string;
property jasmineOpts
jasmineOpts?: WebdriverIO.JasmineOpts;
property key
key?: string;
property logLevel
logLevel?: 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent';
property mochaOpts
mochaOpts?: WebdriverIO.MochaOpts;
property path
path?: string;
property port
port?: number;
property reporters
reporters?: Reporters.ReporterEntry[];
property shard
shard?: Options.ShardOptions;
property spec
spec?: string[];
property suite
suite?: string[];
property tsConfigPath
tsConfigPath?: string;
property updateSnapshots
updateSnapshots?: Options.Testrunner['updateSnapshots'];
property user
user?: string;
property waitforTimeout
waitforTimeout?: number;
property watch
watch?: boolean;
interface SupportedPackage
interface SupportedPackage {}
Type Aliases
type PM
type PM = (typeof SUPPORTED_PACKAGE_MANAGERS)[number];
type ValueKeyIteratee
type ValueKeyIteratee<T> = | ((value: T, key: string) => NotVoid) | IterateeShorthand<T>;
Extracted from @types/lodash@4.14.168
Package Files (4)
Dependencies (20)
Dev Dependencies (5)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@wdio/cli
.
- Markdown[](https://www.jsdocs.io/package/@wdio/cli)
- HTML<a href="https://www.jsdocs.io/package/@wdio/cli"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3733 ms. - Missing or incorrect documentation? Open an issue for this package.