mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 15:00:26 +00:00
Removes CreateSessionCapabilities from some createSession signatures
This commit is contained in:
Vendored
+1
-1
@@ -262,7 +262,7 @@ export class Driver extends webdriver.WebDriver {
|
||||
* configured to use the legacy FirefoxDriver from the Selenium project.
|
||||
* @return {!Driver} A new driver instance.
|
||||
*/
|
||||
static createSession(opt_config?: Options | webdriver.CreateSessionCapabilities, 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;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Vendored
+1
-1
@@ -13,7 +13,7 @@ export class Driver extends webdriver.WebDriver {
|
||||
* or {@code null} to use the currently active flow.
|
||||
* @return {!Driver} A new driver instance.
|
||||
*/
|
||||
static createSession(opt_config?: webdriver.CreateSessionCapabilities | Options, opt_flow?: webdriver.promise.ControlFlow): Driver;
|
||||
static createSession(opt_config?: webdriver.Capabilities | Options, opt_flow?: webdriver.promise.ControlFlow): Driver;
|
||||
|
||||
/**
|
||||
* This function is a no-op as file detectors are not supported by this
|
||||
|
||||
Reference in New Issue
Block a user