mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-19 05:03:32 +08:00
Removes CreateSessionCapabilities from some createSession signatures
This commit is contained in:
2
selenium-webdriver/firefox.d.ts
vendored
2
selenium-webdriver/firefox.d.ts
vendored
@@ -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;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
2
selenium-webdriver/ie.d.ts
vendored
2
selenium-webdriver/ie.d.ts
vendored
@@ -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