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,ImeActivateEngine,ImeDeactivate,ImeGetActiveEngine,ImeGetAvailableEngines,ImeIsActivated,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 protectedWebDriverHandler(Session session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.openqa.selenium.WebDrivergetDriver()protected KnownElementsgetKnownElements()java.lang.StringgetScreenshot()protected SessiongetSession()org.openqa.selenium.remote.SessionIdgetSessionId()protected org.openqa.selenium.WebDrivergetUnwrappedDriver()Thandle()protected BySelectornewBySelector()-
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:
handlein 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()
-
-