
com.infotel.seleniumrobot.grid.tasks.video.VideoCaptureTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of seleniumRobot-grid4 Show documentation
Show all versions of seleniumRobot-grid4 Show documentation
Selenium grid extension for mobile testing
The newest version!
package com.infotel.seleniumrobot.grid.tasks.video;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import com.infotel.seleniumrobot.grid.tasks.Task;
import com.seleniumtests.util.video.VideoRecorder;
public abstract class VideoCaptureTask implements Task {
public static final String VIDEOS_FOLDER = "videos";
protected static Map videoRecorders = Collections.synchronizedMap(new HashMap<>());
public static void resetVideoRecorders() {
videoRecorders = Collections.synchronizedMap(new HashMap<>());
}
public static void addVideoRecorder(String sessionId, VideoRecorder recorder) {
videoRecorders.put(sessionId, recorder);
}
public static Map getVideoRecorders() {
return videoRecorders;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy