public class WebDriverRequest extends SeleniumBasedRequest
| Constructor and Description |
|---|
WebDriverRequest(javax.servlet.http.HttpServletRequest httpServletRequest,
Registry registry) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
extractDesiredCapability()
Parse the request to extract the desiredCapabilities.
|
RequestType |
extractRequestType() |
ExternalSessionKey |
extractSession()
Extract the session from the request.
|
String |
getNewSessionRequestedCapability(TestSession session) |
createFromRequest, getBody, getContentLength, getCreationTime, getDesiredCapabilities, getInputStream, getReader, getRegistry, getRequestProtocol, getRequestType, setBody, setBody, toStringgetAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRolegetAttribute, getAttributeNames, getCharacterEncoding, getContentType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequestclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttribute, getAttributeNames, getCharacterEncoding, getContentType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncodingpublic WebDriverRequest(javax.servlet.http.HttpServletRequest httpServletRequest,
Registry registry)
public RequestType extractRequestType()
extractRequestType in class SeleniumBasedRequestpublic ExternalSessionKey extractSession()
SeleniumBasedRequestextractSession in class SeleniumBasedRequestpublic Map<String,Object> extractDesiredCapability()
SeleniumBasedRequestextractDesiredCapability in class SeleniumBasedRequestpublic String getNewSessionRequestedCapability(TestSession session)
getNewSessionRequestedCapability in class SeleniumBasedRequestCopyright © 2013. All rights reserved.