@Test(expected = IllegalArgumentException.class) public void trimSessionPathExceptional() { SeleniumSessions.trimSessionPath("/sessionId/"); }
public static String trimSessionPath(String pathInfo) { return pathInfo.replaceFirst("/session/" + getSessionIdFromPath(pathInfo), ""); }
SeleniumSessions { public static String trimSessionPath(String pathInfo) { return pathInfo.replaceFirst("/session/" + getSessionIdFromPath(pathInfo), ""); } }
SeleniumSessions { public static String trimSessionPath(String pathInfo) { return pathInfo.replaceFirst("/session/" + getSessionIdFromPath(pathInfo), ""); } SeleniumSessions(GridRegistry registry); }
SeleniumSessions { public static String trimSessionPath(String pathInfo) { return pathInfo.replaceFirst("/session/" + getSessionIdFromPath(pathInfo), ""); } SeleniumSessions(GridRegistry registry); URL getRemoteHostForSession(String sessionId); void refreshTimeout(String sessionId); static String getSessionIdFromPath(String pathInfo); static String trimSessionPath(String pathInfo); }
SeleniumSessions { public static String trimSessionPath(String pathInfo) { return pathInfo.replaceFirst("/session/" + getSessionIdFromPath(pathInfo), ""); } SeleniumSessions(GridRegistry registry); URL getRemoteHostForSession(String sessionId); void refreshTimeout(String sessionId); static String getSessionIdFromPath(String pathInfo); static String trimSessionPath(String pathInfo);  }