Removes CreateSessionCapabilities from some createSession signatures

This commit is contained in:
Simon Gellis
2017-02-16 23:17:59 -05:00
parent 710bd64dc1
commit 77307349a8
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
/**

View File

@@ -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