Class WebDriverHandler<T>
- java.lang.Object
-
- org.openqa.selenium.remote.server.handler.WebDriverHandler<T>
-
- All Implemented Interfaces:
java.util.concurrent.Callable<T>
,RestishHandler<T>
- Direct Known Subclasses:
AcceptAlert
,AddCookie
,CaptureScreenshot
,ChangeUrl
,ClearLocalStorage
,ClearSessionStorage
,ClickInSession
,CloseWindow
,ConfigureTimeout
,DeleteCookie
,DeleteNamedCookie
,DeleteSession
,DismissAlert
,DoubleClickInSession
,ExecuteAsyncScript
,ExecuteScript
,FindActiveElement
,FindElement
,FindElements
,FullscreenWindow
,GetAlertText
,GetAllCookies
,GetAllWindowHandles
,GetAppCacheStatus
,GetAvailableLogTypesHandler
,GetCookie
,GetCurrentUrl
,GetCurrentWindowHandle
,GetLocalStorageItem
,GetLocalStorageKeys
,GetLocalStorageSize
,GetLocationContext
,GetLogHandler
,GetNetworkConnection
,GetPageSource
,GetScreenOrientation
,GetSessionCapabilities
,GetSessionStorageItem
,GetSessionStorageKeys
,GetSessionStorageSize
,GetTitle
,GetWindowPosition
,GetWindowSize
,GoBack
,GoForward
,ImplicitlyWait
,MaximizeWindow
,MouseDown
,MouseMoveToLocation
,MouseUp
,RefreshPage
,RemoveLocalStorageItem
,RemoveSessionStorageItem
,Rotate
,SendKeyToActiveElement
,SetAlertText
,SetLocalStorageItem
,SetLocationContext
,SetNetworkConnection
,SetScriptTimeout
,SetSessionStorageItem
,SetWindowPosition
,SetWindowSize
,SwitchToFrame
,SwitchToParentFrame
,SwitchToWindow
,UploadFile
,W3CActions
,WebElementHandler
public abstract class WebDriverHandler<T> extends java.lang.Object implements RestishHandler<T>, java.util.concurrent.Callable<T>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WebDriverHandler(Session session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.openqa.selenium.WebDriver
getDriver()
protected KnownElements
getKnownElements()
java.lang.String
getScreenshot()
protected Session
getSession()
org.openqa.selenium.remote.SessionId
getSessionId()
protected org.openqa.selenium.WebDriver
getUnwrappedDriver()
T
handle()
protected BySelector
newBySelector()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openqa.selenium.remote.server.rest.RestishHandler
setJsonParameters
-
-
-
-
Constructor Detail
-
WebDriverHandler
protected WebDriverHandler(Session session)
-
-
Method Detail
-
handle
public final T handle() throws java.lang.Exception
- Specified by:
handle
in interfaceRestishHandler<T>
- Throws:
java.lang.Exception
-
getSessionId
public org.openqa.selenium.remote.SessionId getSessionId()
-
getScreenshot
public java.lang.String getScreenshot()
-
getDriver
protected org.openqa.selenium.WebDriver getDriver()
-
getSession
protected Session getSession()
-
getKnownElements
protected KnownElements getKnownElements()
-
newBySelector
protected BySelector newBySelector()
-
getUnwrappedDriver
protected org.openqa.selenium.WebDriver getUnwrappedDriver()
-
-