| 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 |
|---|---|
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 |
PhantomJSWebDriverType
WebDriverType implementation for PhantomJS.
|
class |
SafariWebDriverType
WebDriverType implementation for Safari.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
WebDriverCache.closeDriver(WebDriverType driverType)
Close the driver of the given driver type and default driver id.
|
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 <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.
|
Copyright © 2016. All rights reserved.