public class ScreenCaptureImpl extends java.lang.Object implements ScreenCapture
See http://unmesh.me/2012/01/13/recording-screencast-of-selenium-tests-in-java/
Constructor and Description |
---|
ScreenCaptureImpl() |
Modifier and Type | Method and Description |
---|---|
void |
start(java.lang.String saveDir)
Begin a screen capture
|
void |
stop()
Stop a screen capture
|
public void start(@NotNull java.lang.String saveDir)
ScreenCapture
start
in interface ScreenCapture
saveDir
- The directory that the screen recording will be saved intopublic void stop()
ScreenCapture
stop
in interface ScreenCapture