public class SeleniumLauncher extends PlainLauncher
This class extends PlainLauncher to manage sessions and UIContext for Selenium.
This launcher (or subclass) must be used to search using ByWComponent or ByWComponentPath.
WServlet.WServletEnvironment, WServlet.WServletHelperCOMPONENT_TO_LAUNCH_PARAM_KEY, SHOW_MEMORY_PROFILE_PARAM_KEYAJAX_TRIGGER_INTERNAL_PARAM_NAME, AJAX_TRIGGER_PARAM_NAME, DATA_LIST_PARAM_NAME, STATIC_RESOURCE_PARAM_NAME, TARGET_ID_PARAM_NAME| Constructor and Description |
|---|
SeleniumLauncher() |
| Modifier and Type | Method and Description |
|---|---|
protected WServlet.WServletHelper |
createServletHelper(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
.
|
static void |
destroyContextForSession(String sessionId)
Remove any cached context for the given session.
|
static UIContext |
getContextForSession(String sessionId)
Get the UIContext for the given session ID.
|
createUI, getComponentToLaunchClassName, getUI, mainaddIndirectJar, createWebApp, getResourceDir, getThemeWebdocs, getUrl, getWebdocsDir, isRunning, isShutdownEnabled, registerServlets, run, service, service, shutDown, stopaddGenericHeaders, createInterceptorChain, handleError, init, serviceIntdoDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModifiedpublic static UIContext getContextForSession(String sessionId)
sessionId - the session.public static void destroyContextForSession(String sessionId)
sessionId - the sessionId to destroy the context.protected WServlet.WServletHelper createServletHelper(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
createServletHelper in class WServletCopyright © 2017. All rights reserved.