Package org.selenide.videorecorder.core
Class VideoConfiguration
java.lang.Object
org.selenide.videorecorder.core.VideoConfiguration
Inspired by Video Recorder from Sergey Pirogov
These settings can be set only once, and only using these two means:
1. via file "selenide.properties", or
2. via system properties (has higher priority)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
VideoConfiguration
public VideoConfiguration()
-
-
Method Details
-
videoEnabled
public boolean videoEnabled()Is video recording enabled. Use it to globally disable video recording in all tests (e.g. in some specific environments, build types etc.)- Returns:
- true by default
-
videoFolder
The folder to save the videos to- Returns:
- true by default
-
mode
Should the videos be recorded for all tests, or only for annotated withVideo
.- Returns:
RecordingMode.ANNOTATED
by default
-
saveMode
Should the videos be saved for all tests, or only for failed tests.- Returns:
VideoSaveMode.FAILED_ONLY
by default
-