
public class GrapheneContextImpl extends ExtendedGrapheneContext
| Modifier and Type | Method and Description |
|---|---|
BrowserActions |
getBrowserActions() |
GrapheneConfiguration |
getConfiguration() |
PageExtensionInstallatorProvider |
getPageExtensionInstallatorProvider() |
PageExtensionRegistry |
getPageExtensionRegistry() |
Class<?> |
getQualifier() |
org.openqa.selenium.WebDriver |
getWebDriver(Class<?>... interfaces)
If the
WebDriver instance is not available yet, the returned
proxy just implements WebDriver interface. |
getContextFor, lastContext, removeContextFor, setContextForpublic BrowserActions getBrowserActions()
public GrapheneConfiguration getConfiguration()
getConfiguration in class GrapheneContextpublic PageExtensionInstallatorProvider getPageExtensionInstallatorProvider()
getPageExtensionInstallatorProvider in class ExtendedGrapheneContextpublic PageExtensionRegistry getPageExtensionRegistry()
getPageExtensionRegistry in class ExtendedGrapheneContextpublic org.openqa.selenium.WebDriver getWebDriver(Class<?>... interfaces)
WebDriver instance is not available yet, the returned
proxy just implements WebDriver interface. If the WebDriver
instance is available, its class is used to create a proxy, so the proxy extends it.getWebDriver in class GrapheneContextinterfaces - interfaces which should be implemented by the returned WebDriverWebDriver held in the contextpublic Class<?> getQualifier()
getQualifier in class GrapheneContextCopyright © 2016 JBoss by Red Hat. All rights reserved.