ThenableWebDriver

A thenable wrapper around a IWebDriver instance that allows commands to be issued directly instead of having to repeatedly call then:

let driver = new Builder().build();
driver.then(d => d.get(url));  // You can do this...
driver.get(url);               // ...or this

If the driver instance fails to resolve (e.g. the session cannot be created), every issued command will fail.

Extends

  • webdriver.IWebDriver
  • IThenable.<!webdriver.IWebDriver>

Methods

(static) createSession(…args)

Parameters:
NameTypeAttributesDescription
args?<repeatable>