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

项目:grid-refactor-remote-server    文件:GetSessionCapabilities.java   
@Override
public Map<String, Object> call() {
  Session session = getSession();
  Map<String, Object> capabilities = (Map<String, Object>) session.getCapabilities().asMap();
  capabilities = Maps.newHashMap(capabilities);

  // Only servers implementing the server-side webdriver-backed selenium need
  // to return this particular value
  capabilities.put("webdriver.remote.sessionid", session.getSessionId().toString());

  return describeSession(capabilities);
}
项目:grid-refactor-remote-server    文件:ResultConfig.java   
private void throwUpIfSessionTerminated(SessionId sessId) throws SessionNotFoundException {
  if (sessId == null) return;
  Session session = sessions.get(sessId);
  final boolean isTerminated = session == null;
  if (isTerminated){
    throw new SessionNotFoundException();
  }
}
项目:grid-refactor-remote-server    文件:GoForward.java   
public GoForward(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:ClickElement.java   
public ClickElement(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:UploadFile.java   
public UploadFile(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:SetScriptTimeout.java   
public SetScriptTimeout(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:GetCssProperty.java   
public GetCssProperty(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:SubmitElement.java   
public SubmitElement(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:GetElementAttribute.java   
public GetElementAttribute(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:FindActiveElement.java   
public FindActiveElement(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:GetCurrentUrl.java   
public GetCurrentUrl(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:AcceptAlert.java   
public AcceptAlert(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:WebElementHandler.java   
protected WebElementHandler(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:ClearElement.java   
public ClearElement(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:SwitchToFrame.java   
public SwitchToFrame(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:FindElements.java   
public FindElements(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:ChangeUrl.java   
public ChangeUrl(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:RemoveLocalStorageItem.java   
public RemoveLocalStorageItem(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:GetLocalStorageSize.java   
public GetLocalStorageSize(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:SetLocalStorageItem.java   
public SetLocalStorageItem(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:SetSessionStorageItem.java   
public SetSessionStorageItem(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:GetSessionStorageKeys.java   
public GetSessionStorageKeys(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:GetSessionStorageItem.java   
public GetSessionStorageItem(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:ClearLocalStorage.java   
public ClearLocalStorage(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:GetSessionStorageSize.java   
public GetSessionStorageSize(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:GetLocationContext.java   
public GetLocationContext(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:GetAppCacheStatus.java   
public GetAppCacheStatus(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:SetLocationContext.java   
public SetLocationContext(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:ClearSessionStorage.java   
public ClearSessionStorage(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:GetLocalStorageItem.java   
public GetLocalStorageItem(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:GetLocalStorageKeys.java   
public GetLocalStorageKeys(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:RemoveSessionStorageItem.java   
public RemoveSessionStorageItem(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:DeleteNamedCookie.java   
public DeleteNamedCookie(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:GetTagName.java   
public GetTagName(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:ImplicitlyWait.java   
public ImplicitlyWait(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:GetElementLocation.java   
public GetElementLocation(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:GetSessionCapabilities.java   
public GetSessionCapabilities(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:GetAllWindowHandles.java   
public GetAllWindowHandles(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:FindElement.java   
public FindElement(Session session) {
  super(session);
}
项目:grid-refactor-remote-server    文件:SetWindowSize.java   
public SetWindowSize(Session session) {
  super(session);
}