public class Utils
extends java.lang.Object
WebDriver instance to the various HTML5
role interfaces. Each method will throw an UnsupportedCommandException if the driver
does not support the corresponding HTML5 feature.| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
private static <T> T |
convert(org.openqa.selenium.WebDriver driver,
java.lang.Class<T> interfaceClazz,
java.lang.String capability,
java.lang.Class<? extends T> remoteImplementationClazz) |
(package private) static org.openqa.selenium.html5.ApplicationCache |
getApplicationCache(org.openqa.selenium.WebDriver driver) |
(package private) static org.openqa.selenium.html5.LocationContext |
getLocationContext(org.openqa.selenium.WebDriver driver) |
static org.openqa.selenium.mobile.NetworkConnection |
getNetworkConnection(org.openqa.selenium.WebDriver driver) |
(package private) static org.openqa.selenium.html5.WebStorage |
getWebStorage(org.openqa.selenium.WebDriver driver) |
static org.openqa.selenium.html5.ApplicationCache getApplicationCache(org.openqa.selenium.WebDriver driver)
public static org.openqa.selenium.mobile.NetworkConnection getNetworkConnection(org.openqa.selenium.WebDriver driver)
static org.openqa.selenium.html5.LocationContext getLocationContext(org.openqa.selenium.WebDriver driver)
static org.openqa.selenium.html5.WebStorage getWebStorage(org.openqa.selenium.WebDriver driver)
private static <T> T convert(org.openqa.selenium.WebDriver driver,
java.lang.Class<T> interfaceClazz,
java.lang.String capability,
java.lang.Class<? extends T> remoteImplementationClazz)