Java 类org.openqa.selenium.remote.server.DriverSessions 实例源码

项目:grid-refactor-remote-server    文件:ResultConfig.java   
public ResultConfig(
    String commandName, Class<? extends RestishHandler<?>> handlerClazz,
    DriverSessions sessions, Logger log) {
  if (commandName == null || handlerClazz == null) {
    throw new IllegalArgumentException("You must specify the handler and the command name");
  }

  this.commandName = commandName;
  this.log = log;
  this.sessions = sessions;
  this.handlerFactory = getHandlerFactory(handlerClazz);
}
项目:grid-refactor-remote-server    文件:AddConfig.java   
public AddConfig(DriverSessions allSessions) {
  this.allSessions = allSessions;
}
项目:grid-refactor-remote-server    文件:GetAllSessions.java   
public GetAllSessions(DriverSessions allSession) {
  this.allSessions = allSession;
}
项目:grid-refactor-remote-server    文件:NewSession.java   
public NewSession(DriverSessions allSession) {
  this.allSessions = allSession;
}