Class VideoConfiguration

java.lang.Object
org.selenide.videorecorder.core.VideoConfiguration

public class VideoConfiguration extends Object
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 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

      public String videoFolder()
      The folder to save the videos to
      Returns:
      true by default
    • mode

      public RecordingMode mode()
      Should the videos be recorded for all tests, or only for annotated with Video.
      Returns:
      RecordingMode.ANNOTATED by default
    • saveMode

      public VideoSaveMode saveMode()
      Should the videos be saved for all tests, or only for failed tests.
      Returns:
      VideoSaveMode.FAILED_ONLY by default