@wdio/types
Advanced tools
Comparing version 9.4.3 to 9.4.4
export interface Driver<T> { | ||
newSession(options: T, modifier?: (...args: any[]) => any, userPrototype?: Record<string, any>, customCommandWrapper?: (...args: any[]) => any): any; | ||
attachToSession(options: any, modifier?: (...args: any[]) => any, userPrototype?: Record<string, any>, customCommandWrapper?: (...args: any[]) => any): any; | ||
reloadSession(client: any, newCapabilities: WebdriverIO.Capabilities): any; | ||
newSession(options: T, modifier?: (...args: unknown[]) => unknown, userPrototype?: Record<string, unknown>, customCommandWrapper?: (...args: unknown[]) => unknown): unknown; | ||
attachToSession(options: unknown, modifier?: (...args: unknown[]) => unknown, userPrototype?: Record<string, unknown>, customCommandWrapper?: (...args: unknown[]) => unknown): unknown; | ||
reloadSession(client: unknown, newCapabilities: WebdriverIO.Capabilities): unknown; | ||
} | ||
//# sourceMappingURL=Automation.d.ts.map |
@@ -30,3 +30,3 @@ export interface Request { | ||
export type NetworkSameSite = 'strict' | 'lax' | 'none'; | ||
export type Extensible = Record<string, any>; | ||
export type Extensible = Record<string, unknown>; | ||
export interface NetworkCookie extends Extensible { | ||
@@ -33,0 +33,0 @@ name: string; |
@@ -6,3 +6,3 @@ import type { Hooks, ServiceEntry } from './Services.js'; | ||
export type Method = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'HEAD' | 'DELETE' | 'OPTIONS' | 'TRACE' | 'get' | 'post' | 'put' | 'patch' | 'head' | 'delete' | 'options' | 'trace'; | ||
export interface RequestLibResponse<Body = any> { | ||
export interface RequestLibResponse<Body = unknown> { | ||
statusCode: number; | ||
@@ -285,3 +285,3 @@ body?: Body; | ||
*/ | ||
runnerEnv?: Record<string, any>; | ||
runnerEnv?: Record<string, string>; | ||
/** | ||
@@ -288,0 +288,0 @@ * Files to watch when running `wdio` with the `--watch` flag. |
@@ -49,3 +49,3 @@ import type { WriteStream } from 'node:fs'; | ||
writeStream?: WriteStream | { | ||
write: (content: any) => boolean; | ||
write: (content: unknown) => boolean; | ||
}; | ||
@@ -55,3 +55,3 @@ /** | ||
*/ | ||
[key: string]: any; | ||
[key: string]: unknown; | ||
} | ||
@@ -58,0 +58,0 @@ export interface ReporterInstance extends EventEmitter { |
@@ -7,2 +7,7 @@ import type { EventEmitter } from 'node:events'; | ||
hasTests: boolean; | ||
baseUrl?: string; | ||
config?: TestrunnerOptions & { | ||
sessionId?: string; | ||
}; | ||
capabilities?: WebdriverIO.Capabilities; | ||
} | ||
@@ -9,0 +14,0 @@ export type WorkerMessageArgs = Omit<Job, 'caps' | 'specs' | 'hasTests'>; |
{ | ||
"name": "@wdio/types", | ||
"version": "9.4.3", | ||
"version": "9.4.4", | ||
"description": "Utility package providing type information for a variety of WebdriverIO interfaces", | ||
@@ -37,3 +37,3 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
}, | ||
"gitHead": "8ee63eaefd86cf06eea832bb8d4c1920e9cc4e55" | ||
"gitHead": "d327d86e07d16eaa0ecdf0656c1868ba73261393" | ||
} |
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
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
156820
2879