Skip to content

ObserveOptions

Namespace: E2E.Engine

public sealed record ObserveOptions : IEquatable<ObserveOptions>

What an observation takes besides the tree. Upstream’s EngineObserveOptions.

Inheritance: object

Implements: IEquatable<ObserveOptions>

View source

public bool Comparable { get; init; }

Take the pixels in a state fit for comparing against a stored one: the status bar normalized.

Value: bool

public bool PixelFallback { get; init; }

Let the engine answer a screen whose semantic tree it could not read with a pixel-only observation (TreeUnavailable) instead of an error. The agent asks; a locator or an assertion does not.

Value: bool

public bool Pixels { get; init; }

Take the screen’s pixels with the tree (Pixels).

Value: bool