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, setContextFor
public BrowserActions getBrowserActions()
public GrapheneConfiguration getConfiguration()
getConfiguration
in class GrapheneContext
public PageExtensionInstallatorProvider getPageExtensionInstallatorProvider()
getPageExtensionInstallatorProvider
in class ExtendedGrapheneContext
public PageExtensionRegistry getPageExtensionRegistry()
getPageExtensionRegistry
in class ExtendedGrapheneContext
public 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 GrapheneContext
interfaces
- interfaces which should be implemented by the returned WebDriver
WebDriver
held in the contextpublic Class<?> getQualifier()
getQualifier
in class GrapheneContext
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.