@wdio/types
Advanced tools
Comparing version 7.26.0 to 7.30.2
import { WebdriverIO as WebDriverIOOptions, Connection as ConnectionOptions } from './Options'; | ||
export declare type PageLoadingStrategy = 'none' | 'eager' | 'normal'; | ||
export declare type LoggingPreferenceType = 'OFF' | 'SEVERE' | 'WARNING' | 'INFO' | 'CONFIG' | 'FINE' | 'FINER' | 'FINEST' | 'ALL'; | ||
export type PageLoadingStrategy = 'none' | 'eager' | 'normal'; | ||
export type LoggingPreferenceType = 'OFF' | 'SEVERE' | 'WARNING' | 'INFO' | 'CONFIG' | 'FINE' | 'FINER' | 'FINEST' | 'ALL'; | ||
export interface LoggingPreferences { | ||
@@ -10,4 +10,4 @@ browser?: LoggingPreferenceType; | ||
} | ||
export declare type Timeouts = Record<'script' | 'pageLoad' | 'implicit', number>; | ||
export declare type ProxyTypes = 'pac' | 'noproxy' | 'autodetect' | 'system' | 'manual'; | ||
export type Timeouts = Record<'script' | 'pageLoad' | 'implicit', number>; | ||
export type ProxyTypes = 'pac' | 'noproxy' | 'autodetect' | 'system' | 'manual'; | ||
export interface ProxyObject { | ||
@@ -78,7 +78,7 @@ proxyType?: ProxyTypes; | ||
} | ||
export declare type RemoteCapabilities = (DesiredCapabilities | W3CCapabilities)[] | MultiRemoteCapabilities; | ||
export type RemoteCapabilities = (DesiredCapabilities | W3CCapabilities)[] | MultiRemoteCapabilities; | ||
export interface MultiRemoteCapabilities { | ||
[instanceName: string]: WebDriverIOOptions; | ||
} | ||
export declare type RemoteCapability = DesiredCapabilities | W3CCapabilities | MultiRemoteCapabilities; | ||
export type RemoteCapability = DesiredCapabilities | W3CCapabilities | MultiRemoteCapabilities; | ||
export interface DesiredCapabilities extends Capabilities, SauceLabsCapabilities, SauceLabsVisualCapabilities, TestingbotCapabilities, SeleniumRCCapabilities, AppiumIOSCapabilities, GeckodriverCapabilities, IECapabilities, AppiumAndroidCapabilities, AppiumCapabilities, AppiumW3CCapabilities, VendorExtensions, GridCapabilities, ChromeCapabilities, BrowserStackCapabilities, AppiumXCUITestCapabilities { | ||
@@ -127,2 +127,4 @@ cssSelectorsEnabled?: boolean; | ||
'browserstack.wdioService'?: string; | ||
'browserstack.buildIdentifier'?: string; | ||
'browserstack.localIdentifier'?: string; | ||
'goog:chromeOptions'?: ChromeOptions; | ||
@@ -257,3 +259,3 @@ 'moz:firefoxOptions'?: FirefoxOptions; | ||
} | ||
export declare type FirefoxLogLevels = 'trace' | 'debug' | 'config' | 'info' | 'warn' | 'error' | 'fatal'; | ||
export type FirefoxLogLevels = 'trace' | 'debug' | 'config' | 'info' | 'warn' | 'error' | 'fatal'; | ||
export interface FirefoxLogObject { | ||
@@ -304,3 +306,3 @@ level: FirefoxLogLevels; | ||
} | ||
export declare type MoonMobileDeviceOrientation = 'portait' | 'vertical' | 'landscape' | 'horizontal'; | ||
export type MoonMobileDeviceOrientation = 'portait' | 'vertical' | 'landscape' | 'horizontal'; | ||
export interface MoonOptions extends SelenoidOptions { | ||
@@ -1153,2 +1155,8 @@ mobileDevice?: { | ||
wdioService?: string; | ||
/** | ||
* Specify an identifier for a build consists group of tests. | ||
*/ | ||
buildIdentifier?: string; | ||
'browserstack.buildIdentifier'?: string; | ||
'browserstack.localIdentifier'?: string; | ||
} | ||
@@ -1155,0 +1163,0 @@ export interface SauceLabsVisualCapabilities { |
import type * as _ts from 'typescript'; | ||
export declare type ModuleTypes = Record<string, 'cjs' | 'esm' | 'package'>; | ||
export type ModuleTypes = Record<string, 'cjs' | 'esm' | 'package'>; | ||
interface CreateOptions { | ||
@@ -4,0 +4,0 @@ /** |
@@ -9,13 +9,13 @@ import type * as Capabilities from './Capabilities'; | ||
export type { Capabilities, Clients, Options, Services, Frameworks, Reporters, Workers }; | ||
export declare type JsonPrimitive = string | number | boolean | null; | ||
export declare type JsonObject = { | ||
export type JsonPrimitive = string | number | boolean | null; | ||
export type JsonObject = { | ||
[x: string]: JsonPrimitive | JsonObject | JsonArray; | ||
}; | ||
export declare type JsonArray = Array<JsonPrimitive | JsonObject | JsonArray>; | ||
export declare type JsonCompatible = JsonObject | JsonArray; | ||
export declare type FunctionPropertyNames<T> = { | ||
export type JsonArray = Array<JsonPrimitive | JsonObject | JsonArray>; | ||
export type JsonCompatible = JsonObject | JsonArray; | ||
export type FunctionPropertyNames<T> = { | ||
[K in keyof T]: T[K] extends Function ? K : never; | ||
}[keyof T]; | ||
export declare type FunctionProperties<T> = Pick<T, FunctionPropertyNames<T>>; | ||
export declare type ThenArg<T> = T extends PromiseLike<infer U> ? U : T; | ||
export type FunctionProperties<T> = Pick<T, FunctionPropertyNames<T>>; | ||
export type ThenArg<T> = T extends PromiseLike<infer U> ? U : T; | ||
declare global { | ||
@@ -22,0 +22,0 @@ namespace WebdriverIO { |
@@ -12,5 +12,5 @@ /// <reference types="node" /> | ||
import { ReporterEntry } from './Reporters'; | ||
export declare type WebDriverLogTypes = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent'; | ||
export declare type SupportedProtocols = 'webdriver' | 'devtools' | './protocol-stub'; | ||
export declare type Agents = { | ||
export type WebDriverLogTypes = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent'; | ||
export type SupportedProtocols = 'webdriver' | 'devtools' | './protocol-stub'; | ||
export type Agents = { | ||
http?: any; | ||
@@ -210,3 +210,3 @@ https?: any; | ||
} | ||
export declare type SauceRegions = 'us' | 'eu' | 'apac' | 'us-west-1' | 'us-east-1' | 'eu-central-1' | 'apac-southeast-1' | 'staging'; | ||
export type SauceRegions = 'us' | 'eu' | 'apac' | 'us-west-1' | 'us-east-1' | 'eu-central-1' | 'apac-southeast-1' | 'staging'; | ||
export interface WebdriverIO extends Omit<WebDriver, 'capabilities'> { | ||
@@ -450,3 +450,3 @@ /** | ||
} | ||
export declare type Definition<T> = { | ||
export type Definition<T> = { | ||
[k in keyof T]: { | ||
@@ -453,0 +453,0 @@ type: 'string' | 'number' | 'object' | 'boolean' | 'function'; |
@@ -64,3 +64,3 @@ /// <reference types="node" /> | ||
} | ||
export declare type ReporterEntry = ( | ||
export type ReporterEntry = ( | ||
/** | ||
@@ -67,0 +67,0 @@ * e.g. `services: ['@wdio/allure-reporter']` |
@@ -34,3 +34,3 @@ /// <reference types="node" /> | ||
} | ||
export declare type ServiceEntry = ( | ||
export type ServiceEntry = ( | ||
/** | ||
@@ -70,3 +70,3 @@ * e.g. `services: ['@wdio/sauce-service']` | ||
]); | ||
export declare type Hooks = { | ||
export type Hooks = { | ||
[k in keyof HookFunctions]: HookFunctions[k] | NonNullable<HookFunctions[k]>[]; | ||
@@ -73,0 +73,0 @@ }; |
@@ -10,3 +10,3 @@ /// <reference types="node" /> | ||
} | ||
export declare type WorkerMessageArgs = Omit<Job, 'caps' | 'specs' | 'hasTests'>; | ||
export type WorkerMessageArgs = Omit<Job, 'caps' | 'specs' | 'hasTests'>; | ||
export interface WorkerRunPayload { | ||
@@ -42,3 +42,3 @@ cid: string; | ||
} | ||
export declare type WorkerPool = Record<string, Worker>; | ||
export type WorkerPool = Record<string, Worker>; | ||
//# sourceMappingURL=Workers.d.ts.map |
{ | ||
"name": "@wdio/types", | ||
"version": "7.26.0", | ||
"version": "7.30.2", | ||
"description": "Utility package providing type information for a variety of WebdriverIO interfaces", | ||
@@ -43,3 +43,3 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
}, | ||
"gitHead": "573927a79dc0a2b9d9a9e19e7d1b8c1ff9fac308" | ||
"gitHead": "f65ff89daa26bb039f4286a5eb466b403d19c715" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
129634
2470