@types/selenium-webdriver
Advanced tools
Comparing version 3.0.19 to 3.0.20
@@ -24,3 +24,7 @@ import * as webdriver from './index'; | ||
*/ | ||
static createSession(opt_config?: Options | webdriver.CreateSessionCapabilities, opt_service?: remote.DriverService | http.Executor, opt_flow?: webdriver.promise.ControlFlow): Driver; | ||
static createSession( | ||
opt_config?: Options | webdriver.CreateSessionCapabilities, | ||
opt_service?: remote.DriverService | http.Executor, | ||
opt_flow?: webdriver.promise.ControlFlow, | ||
): Driver; | ||
} | ||
@@ -241,7 +245,7 @@ | ||
/** | ||
* Sets the directory to store Chrome minidumps in. This option is only | ||
* supported when ChromeDriver is running on Linux. | ||
* @param {string} path The directory path. | ||
* @return {!Options} A self reference. | ||
*/ | ||
* Sets the directory to store Chrome minidumps in. This option is only | ||
* supported when ChromeDriver is running on Linux. | ||
* @param {string} path The directory path. | ||
* @return {!Options} A self reference. | ||
*/ | ||
setChromeMinidumpPath(path: string): Options; | ||
@@ -248,0 +252,0 @@ |
@@ -16,3 +16,7 @@ import * as webdriver from './index'; | ||
*/ | ||
static createSession(opt_config?: webdriver.CreateSessionCapabilities, opt_service?: remote.DriverService, opt_flow?: webdriver.promise.ControlFlow): Driver; | ||
static createSession( | ||
opt_config?: webdriver.CreateSessionCapabilities, | ||
opt_service?: remote.DriverService, | ||
opt_flow?: webdriver.promise.ControlFlow, | ||
): Driver; | ||
@@ -19,0 +23,0 @@ /** |
@@ -169,11 +169,11 @@ import * as webdriver from './index'; | ||
/** | ||
* Sets the initial window size when running in | ||
* {@linkplain #headless headless} mode. | ||
* | ||
* @param {{width: number, height: number}} size The desired window size. | ||
* @return {!Options} A self reference. | ||
* @throws {TypeError} if width or height is unspecified, not a number, or | ||
* less than or equal to 0. | ||
*/ | ||
windowSize(size: { width: number, height: number }): Options; | ||
* Sets the initial window size when running in | ||
* {@linkplain #headless headless} mode. | ||
* | ||
* @param {{width: number, height: number}} size The desired window size. | ||
* @return {!Options} A self reference. | ||
* @throws {TypeError} if width or height is unspecified, not a number, or | ||
* less than or equal to 0. | ||
*/ | ||
windowSize(size: { width: number; height: number }): Options; | ||
@@ -295,3 +295,7 @@ /** | ||
*/ | ||
static createSession(opt_config?: Options | webdriver.Capabilities, opt_executor?: http.Executor | remote.DriverService, opt_flow?: webdriver.promise.ControlFlow): Driver; | ||
static createSession( | ||
opt_config?: Options | webdriver.Capabilities, | ||
opt_executor?: http.Executor | remote.DriverService, | ||
opt_flow?: webdriver.promise.ControlFlow, | ||
): Driver; | ||
@@ -298,0 +302,0 @@ /** |
@@ -16,3 +16,6 @@ import * as webdriver from './index'; | ||
*/ | ||
static createSession(opt_config?: webdriver.Capabilities | Options, opt_flow?: webdriver.promise.ControlFlow): Driver; | ||
static createSession( | ||
opt_config?: webdriver.Capabilities | Options, | ||
opt_flow?: webdriver.promise.ControlFlow, | ||
): Driver; | ||
@@ -19,0 +22,0 @@ /** |
@@ -168,3 +168,7 @@ import * as webdriver from './index'; | ||
*/ | ||
static createSession(opt_config?: webdriver.Capabilities | Options, opt_service?: remote.DriverService, opt_flow?: webdriver.promise.ControlFlow): Driver; | ||
static createSession( | ||
opt_config?: webdriver.Capabilities | Options, | ||
opt_service?: remote.DriverService, | ||
opt_flow?: webdriver.promise.ControlFlow, | ||
): Driver; | ||
@@ -171,0 +175,0 @@ /** |
{ | ||
"name": "@types/selenium-webdriver", | ||
"version": "3.0.19", | ||
"version": "3.0.20", | ||
"description": "TypeScript definitions for Selenium WebDriverJS", | ||
@@ -48,4 +48,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/selenium-webdriver", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "ee602835533c019ec1cdac26c11669ec246aa7d85ef099953f1ba3b36064d214", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "44a6cbdcf69d29701f224cb69df52ea3802ef660b7b1c84f23d5ad3e1c5b2c51", | ||
"typeScriptVersion": "3.9" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 15 Jul 2021 00:01:26 GMT | ||
* Last updated: Thu, 12 May 2022 18:01:35 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
@@ -9,3 +9,3 @@ import * as webdriver from './index'; | ||
*/ | ||
export interface ServiceOptions { } | ||
export interface ServiceOptions {} | ||
@@ -140,3 +140,3 @@ /** | ||
*/ | ||
setEnvironment(env: Map<string, string> | {[name: string]: string} | null): this; | ||
setEnvironment(env: Map<string, string> | { [name: string]: string } | null): this; | ||
@@ -188,19 +188,19 @@ /** | ||
as a promise, the service will wait for the promise to resolve before starting. */ | ||
port?: number|webdriver.promise.IThenable<number> | undefined; | ||
port?: number | webdriver.promise.IThenable<number> | undefined; | ||
/** The arguments to pass to the service. If a promise is provided, the | ||
service will wait for it to resolve before starting. */ | ||
args?: string[]|webdriver.promise.IThenable<string[]> | undefined; | ||
args?: string[] | webdriver.promise.IThenable<string[]> | undefined; | ||
/** The arguments to pass to the JVM. If a promise is provided, the service | ||
will wait for it to resolve before starting. */ | ||
jvmArgs?: string[]|webdriver.promise.IThenable<string[]> | undefined; | ||
jvmArgs?: string[] | webdriver.promise.IThenable<string[]> | undefined; | ||
/** The environment variables that should be visible to the server process. | ||
Defaults to inheriting the current process's environment.*/ | ||
env?: {[key: string]: string} | undefined; | ||
env?: { [key: string]: string } | undefined; | ||
/** IO configuration for the spawned server process. For more information, | ||
refer to the documentation of `child_process.spawn`*/ | ||
stdio?: string|Array<string|number> | undefined; | ||
stdio?: string | Array<string | number> | undefined; | ||
} | ||
@@ -207,0 +207,0 @@ } |
import * as webdriver from './index'; | ||
export class Server { } | ||
export class Server {} | ||
@@ -31,4 +31,3 @@ /** | ||
*/ | ||
export class CommandExecutor { | ||
} | ||
export class CommandExecutor {} | ||
@@ -91,3 +90,6 @@ /** | ||
*/ | ||
static createSession(opt_config?: Options | webdriver.Capabilities, opt_flow?: webdriver.promise.ControlFlow): Driver; | ||
static createSession( | ||
opt_config?: Options | webdriver.Capabilities, | ||
opt_flow?: webdriver.promise.ControlFlow, | ||
): Driver; | ||
} |
@@ -6,6 +6,6 @@ import { promise } from './index'; | ||
/** | ||
* Registers a new test suite. | ||
* @param name The suite name. | ||
* @param fn The suite function, or {@code undefined} to define a pending test suite. | ||
*/ | ||
* Registers a new test suite. | ||
* @param name The suite name. | ||
* @param fn The suite function, or {@code undefined} to define a pending test suite. | ||
*/ | ||
(name: string, fn: Function): void; | ||
@@ -84,3 +84,3 @@ | ||
skip(name: string, fn: Function): void; | ||
} | ||
}; | ||
@@ -87,0 +87,0 @@ /** |
Sorry, the diff of this file is too big to display
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
247878
5969