Environment

Defines the environment a test suite is running against.

Constructor

new Environment(browsernon-null, urlopt, nullable)

Parameters:
NameTypeAttributesDescription
browserTargetBrowser

the browser targetted in this environment.

urlstring | remote.SeleniumServer<optional>
<nullable>

remote URL of an existing Selenium server to test against.

Members

browser

Methods

browsers(…browsersToIgnore) → {function}

Returns a predicate function that will suppress tests in this environment if the current browser is in the list of browsersToIgnore.

Parameters:
NameTypeAttributesDescription
browsersToIgnorestring | Browser<repeatable>

the browsers that should be ignored.

Returns:

a new predicate function.

Type: 
function

builder() → (non-null) {Builder}

Returns:

a new WebDriver builder configured to target this environment's browser.

Type: 
Builder