org.openqa.selenium.remote.server
Class DefaultDriverSessions
java.lang.Object
org.openqa.selenium.remote.server.DefaultDriverSessions
- All Implemented Interfaces:
- DriverSessions
public class DefaultDriverSessions
- extends java.lang.Object
- implements DriverSessions
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDriverSessions
public DefaultDriverSessions()
DefaultDriverSessions
protected DefaultDriverSessions(Platform runningOn,
DriverFactory factory)
newSession
public SessionId newSession(Capabilities desiredCapabilities)
throws java.lang.Exception
- Specified by:
newSession
in interface DriverSessions
- Throws:
java.lang.Exception
get
public Session get(SessionId sessionId)
- Specified by:
get
in interface DriverSessions
deleteSession
public void deleteSession(SessionId sessionId)
- Specified by:
deleteSession
in interface DriverSessions
registerDriver
public void registerDriver(Capabilities capabilities,
java.lang.Class<? extends WebDriver> implementation)
- Specified by:
registerDriver
in interface DriverSessions
getSessions
public java.util.Set<SessionId> getSessions()
- Specified by:
getSessions
in interface DriverSessions
Copyright © 2012. All Rights Reserved.