| Package | Description |
|---|---|
| com.github.bordertech.wcomponents.test.selenium |
Provides a WComponent UI testing API using the Selenium 2.0 WebDriver framework.
|
| com.github.bordertech.wcomponents.test.selenium.driver |
Provides the WComponent specific functionality for wrapping/creating Selenium WebDriver.
|
| Modifier and Type | Method and Description |
|---|---|
WebDriverType |
WComponentSeleniumTestCase.getDriverType() |
| Modifier and Type | Method and Description |
|---|---|
void |
WComponentSeleniumTestCase.setDriver(WebDriverType driverType,
String driverId)
Set the driver type and ID for this test.
|
| Constructor and Description |
|---|
WComponentSeleniumTestCase(WebDriverType driverType)
Creates a WComponentSeleniumTestCase with the given driver type.
|
WComponentSeleniumTestCase(WebDriverType driverType,
String driverId)
Creates a WComponentSeleniumTestCase with the given driver type.
|
WComponentSeleniumTestCase(WebDriverType driverType,
String driverId,
String url)
Creates a WComponentSeleniumTestCase with the given driver type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChromeWebDriverType
WebDriverType implementation for Chrome.
|
class |
EdgeWebDriverType
WebDriverType implementation for Edge.
|
class |
FirefoxWebDriverType
WebDriverType implementation for Firefox.
|
class |
InternetExplorerWebDriverType
WebDriverType implementation for Internet Explorer.
|
class |
ParameterizedWebDriverType
WebDriverType implementation for a WebDriver created at runtime via configuration.
|
class |
SafariWebDriverType
WebDriverType implementation for Safari.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
WebDriverCache.closeDriver(WebDriverType driverType,
String driverId)
Close the driver of the given type and driver id.
|
static <T extends org.openqa.selenium.WebDriver> |
SeleniumWComponentsWebDriverFactory.createDriver(WebDriverType<T> backingDriverType)
Create a SeleniumWComponentsWebDriver backed by the driver implementation of the
given WebDriverType.
|
static <T extends org.openqa.selenium.WebDriver> |
WebDriverCache.getDriver(WebDriverType<T> driverType)
Get or create the driver for the given driver type.
|
static <T extends org.openqa.selenium.WebDriver> |
WebDriverCache.getDriver(WebDriverType<T> driverType,
String driverId)
Get or create the driver for the given driver type and unique driver id.
|
static void |
WebDriverCache.releaseDriver(WebDriverType driverType,
String driverId)
Close the driver of the given type and driver id.
|
Copyright © 2024. All rights reserved.