Constructor
new Environment(browsernon-null, urlopt, nullable)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
browser | TargetBrowser | the browser targetted in this environment. | |
url | string | | <optional> <nullable> | remote URL of an existing Selenium server to test against. |
- Source
Members
browser
- Source
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:
Name | Type | Attributes | Description |
---|---|---|---|
browsersToIgnore | string | | <repeatable> | the browsers that should be ignored. |
- Source
Returns:
a new predicate function.
- Type:
- function
builder() → (non-null) {Builder}
- Source
Returns:
a new WebDriver builder configured to target this environment's browser.
- Type:
- Builder