Module Values.VisualReferenceOutputSource

If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run that is used as the baseline for screenshots, and the coordinates of any parts of those screenshots that are ignored during visual monitoring comparison. Visual monitoring is supported only on canaries running the syn-puppeteer-node-3.2 runtime or later.

Sourcetype nonrec t = {
  1. baseScreenshots : BaseScreenshots.t option;
    (*

    An array of screenshots that are used as the baseline for comparisons during visual monitoring.

    *)
  2. baseCanaryRunId : String_.t option;
    (*

    The ID of the canary run that produced the baseline screenshots that are used for visual monitoring comparisons by this canary.

    *)
  3. browserType : BrowserType.t option;
    (*

    The browser type associated with this visual reference.

    *)
}
Sourceval make : ?baseScreenshots:??? -> ?baseCanaryRunId:??? -> ?browserType:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `List of [> `String of BaseScreenshotConfigIgnoreCoordinate.t ] list | `String of String_.t ]) list ] list | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t