import type * as Automation from './Automation.js'; import type * as Capabilities from './Capabilities.js'; import type * as Options from './Options.js'; import type * as Services from './Services.js'; import type * as Reporters from './Reporters.js'; import type * as Frameworks from './Frameworks.js'; import type * as Workers from './Workers.js'; import type * as Network from './Network.js'; /** * exported constant values */ export { MESSAGE_TYPES } from './Workers.js'; export type { Automation, Capabilities, Options, Services, Frameworks, Reporters, Workers }; export type JsonPrimitive = string | number | boolean | null; export type JsonObject = { [x: string]: JsonPrimitive | JsonObject | JsonArray; }; export type JsonArray = Array; export type JsonCompatible = JsonObject | JsonArray; export type FunctionPropertyNames = { [K in keyof T]: T[K] extends Function ? K : never; }[keyof T]; export type FunctionProperties = Pick>; export type ThenArg = T extends PromiseLike ? U : T; interface DriverOptions { /** * directory where browser and driver should be stored */ cacheDir?: string; /** * path to custom driver binary */ binary?: string; /** * path to the log file */ logPath?: string; } declare global { namespace WebdriverIO { /** * Service option to be extended by ecosystem services */ interface ServiceOption extends Services.ServiceOption { } /** * Reporter option to be extended by ecosystem reporters */ interface ReporterOption extends Reporters.Options { } /** * types to be extended by `webdriverio` package */ interface Browser { requestedCapabilities?: any; } interface MultiRemoteBrowser { } interface Element { /** * parent of the element if fetched via `$(parent).$(child)` */ parent: WebdriverIO.Element | WebdriverIO.Browser; } interface MultiRemoteElement { } interface ElementArray { } /** * A network request during a WebDriver Bidi session */ interface Request extends Network.Request { } /** * types to be extended by ecosystem framework adapters */ interface MochaOpts { [key: string]: any; } interface JasmineOpts { [key: string]: any; } interface CucumberOpts { [key: string]: any; } interface Config extends Options.Testrunner, Capabilities.WithRequestedTestrunnerCapabilities { } interface RemoteConfig extends Options.WebdriverIO, Capabilities.WithRequestedCapabilities { } interface MultiremoteConfig extends Options.Testrunner, Capabilities.WithRequestedMultiremoteCapabilities { } interface HookFunctionExtension { } interface WDIOVSCodeServiceOptions { } interface BrowserRunnerOptions { } interface ChromedriverOptions extends DriverOptions { } interface GeckodriverOptions extends DriverOptions { } interface EdgedriverOptions extends DriverOptions { } interface SafaridriverOptions { } } } //# sourceMappingURL=index.d.ts.map