Class SelenideVideoConfiguration

java.lang.Object
org.selenide.videorecorder.core.SelenideVideoConfiguration
All Implemented Interfaces:
VideoConfiguration

public class SelenideVideoConfiguration extends Object implements 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    crf()
    CRF operates on a scale from 0 (lossless) to 51 (lowest quality), with lower values indicating higher quality and larger file sizes.
    int
    fps()
    Frames per seconds 24fps is a standard for movies and TV shows, but processing this amount of frames causes too high CPU usage.
    boolean
    Is it needed to keep the taken screenshots after the video has been created from them.
    Should the videos be recorded for all tests, or only for annotated with Video.
    Should the videos be saved for all tests, or only for failed tests.
    boolean
    Is video recording enabled.
    The folder to save the videos to
    long
    Timeout for processing a video (in milliseconds) Default value: 5 minutes (300000 ms)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SelenideVideoConfiguration

      public SelenideVideoConfiguration()
  • Method Details