org.openqa.selenium.server
Class BrowserSessionFactory.BrowserSessionInfo
java.lang.Object
org.openqa.selenium.server.BrowserSessionFactory.BrowserSessionInfo
- Enclosing class:
- BrowserSessionFactory
public static class BrowserSessionFactory.BrowserSessionInfo
- extends Object
Collection class to hold the objects associated with a browser session.
- Author:
- [email protected] (Jennifer Bevan)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sessionId
public final String sessionId
browserString
public final String browserString
baseUrl
public final String baseUrl
launcher
public final org.openqa.selenium.browserlaunchers.BrowserLauncher launcher
session
public final FrameGroupCommandQueueSet session
lastClosedAt
public long lastClosedAt
BrowserSessionFactory.BrowserSessionInfo
public BrowserSessionFactory.BrowserSessionInfo(String sessionId,
String browserString,
String baseUrl,
org.openqa.selenium.browserlaunchers.BrowserLauncher launcher,
FrameGroupCommandQueueSet session)
isValid
protected static boolean isValid(BrowserSessionFactory.BrowserSessionInfo sessionInfo)
- Browser sessions require the session id, the browser, the base URL, and the launcher. They
don't actually require the session to be set up as a FrameGroupCommandQueueSet.
- Parameters:
sessionInfo
- the sessionInfo to validate.
- Returns:
- true if all fields excepting session are non-null.
Copyright © 2012. All Rights Reserved.