
com.aimmac23.hub.videostorage.SessionInfoBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of selenium-video-node Show documentation
Show all versions of selenium-video-node Show documentation
Selenium Grid plugin that records videos of running tests
The newest version!
package com.aimmac23.hub.videostorage;
import java.util.Map;
import org.openqa.grid.internal.TestSession;
/**
* A bean to wrap up information about the {@link TestSession}, to
* prevent the object being modified, and to present a clean and extensible
* API in {@link IVideoStore}
*
* @author Alasdair Macmillan
*
*/
public class SessionInfoBean {
private Map requestedCapabilities;
private Map nodeCapabilities;
public SessionInfoBean(TestSession session) {
requestedCapabilities = session.getRequestedCapabilities();
nodeCapabilities = session.getSlot().getCapabilities();
}
public Map getRequestedCapabilities() {
return requestedCapabilities;
}
public Map getNodeCapabilities() {
return nodeCapabilities;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy