| 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 |
|---|---|
SeleniumWComponentsWebDriver |
WComponentSeleniumTestCase.getDriver()
Retrieves the current driver instance, launching it for the URL if it is not already running.
|
SeleniumWComponentsWebDriver |
WComponentSeleniumTestCase.getDriverWithoutLaunching()
Retrieve the driver without launching it.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends org.openqa.selenium.WebDriver> |
SeleniumWComponentsWebDriverFactory.createDriver(String backingDriverClass)
Create a SeleniumWComponentsWebDriver backed by the an instance of the given
backingDriverClass class name.
|
static <T extends org.openqa.selenium.WebDriver> |
SeleniumWComponentsWebDriverFactory.createDriver(T backingDriver)
Create a SeleniumWComponentsWebDriver backed by the given WebDriver.
|
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 <T extends org.openqa.selenium.WebDriver> |
WebDriverCache.openDriver(WebDriverType<T> driverType)
Open a new instance of the given driver type
Will close and replace any existing driver with the same type and default
driver id.
|
static <T extends org.openqa.selenium.WebDriver> |
WebDriverCache.openDriver(WebDriverType<T> driverType,
SeleniumWComponentsWebDriver<T> driver,
String driverId)
Register the given driver implementation to be shared with this class
using the given type and driver Id
Will close and replace any existing driver with the same type and driver
id.
|
static <T extends org.openqa.selenium.WebDriver> |
WebDriverCache.openDriver(WebDriverType<T> driverType,
String driverId)
Open a new instance of the given driver type with a unique driver id
Will close and replace any existing driver with the same type and driver
id.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends org.openqa.selenium.WebDriver> |
WebDriverCache.openDriver(WebDriverType<T> driverType,
SeleniumWComponentsWebDriver<T> driver,
String driverId)
Register the given driver implementation to be shared with this class
using the given type and driver Id
Will close and replace any existing driver with the same type and driver
id.
|
Copyright © 2016. All rights reserved.