
com.infotel.seleniumrobot.grid.tasks.video.DisplayRunningStepTask 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 com.infotel.seleniumrobot.grid.tasks.Task;
import com.seleniumtests.driver.CustomEventFiringWebDriver;
import com.seleniumtests.driver.DriverMode;
public class DisplayRunningStepTask extends VideoCaptureTask implements Task {
private String stepName;
private String sessionId;
public DisplayRunningStepTask(String stepName, String sessionId) {
this.stepName = stepName;
this.sessionId = sessionId;
}
@SuppressWarnings("unchecked")
@Override
public DisplayRunningStepTask execute() throws Exception {
CustomEventFiringWebDriver.displayStepOnScreen(stepName, DriverMode.LOCAL, null, videoRecorders.get(sessionId));
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy