Interface Visuals

All Superinterfaces:
org.aeonbits.owner.Config, EngineProperties<Visuals>, Serializable

@Sources({"system:properties","file:src/main/resources/properties/VisualValidations.properties","file:src/main/resources/properties/default/VisualValidations.properties","classpath:VisualValidations.properties"}) public interface Visuals extends EngineProperties<Visuals>
  • Method Details

    • visualMatchingThreshold

      @Key("visualMatchingThreshold") @DefaultValue("0.90") double visualMatchingThreshold()
    • screenshotParamsScalingFactor

      @Key("screenshotParams_scalingFactor") @DefaultValue("1.0") double screenshotParamsScalingFactor()
    • screenshotParamsWhenToTakeAScreenshot

      @Key("screenshotParams_whenToTakeAScreenshot") @DefaultValue("ValidationPointsOnly") String screenshotParamsWhenToTakeAScreenshot()
    • screenshotParamsScreenshotType

      @Key("screenshotParams_screenshotType") @DefaultValue("fullPage") String screenshotParamsScreenshotType()
    • screenshotParamsHighlightElements

      @Key("screenshotParams_highlightElements") @DefaultValue("true") boolean screenshotParamsHighlightElements()
    • screenshotParamsHighlightMethod

      @Key("screenshotParams_highlightMethod") @DefaultValue("AI") String screenshotParamsHighlightMethod()
    • screenshotParamsSkippedElementsFromScreenshot

      @Key("screenshotParams_skippedElementsFromScreenshot") @DefaultValue("") String screenshotParamsSkippedElementsFromScreenshot()
    • screenshotParamsWatermark

      @Key("screenshotParams_watermark") @DefaultValue("true") boolean screenshotParamsWatermark()
    • screenshotParamsWatermarkOpacity

      @Key("screenshotParams_watermarkOpacity") @DefaultValue("0.2") float screenshotParamsWatermarkOpacity()
    • createAnimatedGif

      @Key("createAnimatedGif") @DefaultValue("false") boolean createAnimatedGif()
    • animatedGifFrameDelay

      @Key("animatedGif_frameDelay") @DefaultValue("500") int animatedGifFrameDelay()
    • videoParamsRecordVideo

      @Key("videoParams_recordVideo") @DefaultValue("false") boolean videoParamsRecordVideo()
    • videoParamsScope

      @Key("videoParams_scope") @DefaultValue("DriverSession") String videoParamsScope()
    • whenToTakePageSourceSnapshot

      @Key("whenToTakePageSourceSnapshot") @DefaultValue("Never") String whenToTakePageSourceSnapshot()
    • set

      default Visuals.SetProperty set()
      Specified by:
      set in interface EngineProperties<Visuals>