@wdio/types
Advanced tools
Comparing version 8.14.0 to 8.15.0
@@ -81,3 +81,3 @@ import type { WebdriverIO as WebDriverIOOptions, Connection as ConnectionOptions } from './Options.js'; | ||
} | ||
export type RemoteCapabilities = (DesiredCapabilities | W3CCapabilities)[] | MultiRemoteCapabilities; | ||
export type RemoteCapabilities = (DesiredCapabilities | W3CCapabilities)[] | MultiRemoteCapabilities | MultiRemoteCapabilities[]; | ||
export interface MultiRemoteCapabilities { | ||
@@ -117,3 +117,3 @@ [instanceName: string]: WebDriverIOOptions; | ||
} | ||
export interface VendorExtensions extends EdgeCapabilities, AppiumCapabilities, WebdriverIO.WDIODevtoolsOptions, WebdriverIO.WDIODriverOptions, WebdriverIO.WDIOVSCodeServiceOptions { | ||
export interface VendorExtensions extends EdgeCapabilities, AppiumCapabilities, WebdriverIO.WDIODevtoolsOptions, WebdriverIOCapabilities, WebdriverIO.WDIOVSCodeServiceOptions { | ||
'selenoid:options'?: SelenoidOptions; | ||
@@ -154,2 +154,8 @@ 'moon:options'?: MoonOptions; | ||
} | ||
export interface WebdriverIOCapabilities { | ||
'wdio:chromedriverOptions'?: WebdriverIO.ChromedriverOptions; | ||
'wdio:safaridriverOptions'?: WebdriverIO.SafaridriverOptions; | ||
'wdio:geckodriverOptions'?: WebdriverIO.GeckodriverOptions; | ||
'wdio:edgedriverOptions'?: WebdriverIO.EdgedriverOptions; | ||
} | ||
export interface ChromeOptions { | ||
@@ -156,0 +162,0 @@ /** |
@@ -20,2 +20,8 @@ import type * as Capabilities from './Capabilities.js'; | ||
export type ThenArg<T> = T extends PromiseLike<infer U> ? U : T; | ||
interface DriverOptions { | ||
/** | ||
* directory where browser and driver should be stored | ||
*/ | ||
cacheDir?: string; | ||
} | ||
declare global { | ||
@@ -42,4 +48,2 @@ namespace WebdriverIO { | ||
} | ||
interface WDIODriverOptions { | ||
} | ||
interface WDIOVSCodeServiceOptions { | ||
@@ -49,7 +53,15 @@ } | ||
} | ||
interface ChromedriverOptions extends DriverOptions { | ||
} | ||
interface GeckodriverOptions extends DriverOptions { | ||
} | ||
interface EdgedriverOptions extends DriverOptions { | ||
} | ||
interface SafaridriverOptions { | ||
} | ||
} | ||
namespace WebDriver { | ||
interface Capabilities extends Capabilities.Capabilities { | ||
interface Capabilities extends Capabilities.Capabilities, Capabilities.WebdriverIOCapabilities { | ||
} | ||
interface DesiredCapabilities extends Capabilities.DesiredCapabilities { | ||
interface DesiredCapabilities extends Capabilities.DesiredCapabilities, Capabilities.WebdriverIOCapabilities { | ||
} | ||
@@ -56,0 +68,0 @@ } |
{ | ||
"name": "@wdio/types", | ||
"version": "8.14.0", | ||
"version": "8.15.0", | ||
"description": "Utility package providing type information for a variety of WebdriverIO interfaces", | ||
@@ -35,3 +35,3 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
}, | ||
"gitHead": "cb2092b007e6d2ac23a49aa30dae67d70e45906d" | ||
"gitHead": "78e199c5ffd74bdf3a5576952c3834c29afa989f" | ||
} |
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
129369
2409