Skip to main content

Interface: WdioConfig

Defined in: providers/src/types.ts:189

A WebdriverIO config, or the partial slice of one that a reducer contributes.

Open for the same reason as SauceCapability: setup* builds a config up by spreading provider defaults, reporter config and service config together, and the reporter packages own keys we do not.

It extends @caps/core's definition rather than restating it. That is not tidiness: Provider.setup* in @caps/core/providers is declared to return core's WdioConfig, so an independent declaration here — however similar — makes saucelabsProvider unassignable to Provider the moment the two drift (an unknown-valued index signature, for instance, is not assignable to core's path?: string). Narrowing capabilities to SauceCapability keeps the extra precision this package wants.

Extends​

Indexable​

[key: string]: any

Properties​

capabilities?​

optional capabilities?: SauceCapability[];

Defined in: providers/src/types.ts:190

Overrides​

WdioConfig.capabilities


framework?​

optional framework?: string;

Defined in: core/dist/types/types.d.ts:47

Inherited from​

WdioConfig.framework


hostname?​

optional hostname?: string;

Defined in: core/dist/types/types.d.ts:48

Inherited from​

WdioConfig.hostname


path?​

optional path?: string;

Defined in: core/dist/types/types.d.ts:50

Inherited from​

WdioConfig.path


port?​

optional port?: number;

Defined in: core/dist/types/types.d.ts:49

Inherited from​

WdioConfig.port


protocol?​

optional protocol?: string;

Defined in: core/dist/types/types.d.ts:51

Inherited from​

WdioConfig.protocol


reporters?​

optional reporters?: any[];

Defined in: core/dist/types/types.d.ts:46

Inherited from​

WdioConfig.reporters


services?​

optional services?: any[];

Defined in: core/dist/types/types.d.ts:45

Inherited from​

WdioConfig.services