Skip to content

DocumentElement

Namespace: E2E.Engine

public sealed class DocumentElement

A mutable control on a DocumentPage.

Inheritance: object

View source

public Dictionary<string, string> Attributes { get; }

Attributes getAttribute and toHaveAttribute read, such as href or aria-label.

Value: Dictionary<string, string>

View source

public bool Checked { get; set; }

Value: bool

View source

public List<DocumentElement> Children { get; }

Value: List<DocumentElement>

View source

public bool Disabled { get; set; }

Value: bool

View source

public bool Expanded { get; set; }

Value: bool

View source

public bool Focused { get; set; }

Value: bool

View source

public bool Hidden { get; set; }

Value: bool

View source

public string? InputPurpose { get; init; }

Value: string

View source

public int? Level { get; init; }

Value: int?

View source

public string? Name { get; set; }

Value: string

View source

public string? NavigateTo { get; init; }

Value: string

View source

public Action<string>? OnFill { get; init; }

Value: Action<string>

View source

public Action<ScrollDirection>? OnScroll { get; set; }

Runs when this element is scrolled with LocatorAction.Swipe.

Value: Action<ScrollDirection>

View source

public Action? OnTap { get; init; }

Value: Action

View source

public string? Placeholder { get; init; }

Value: string

View source

public bool Pressed { get; set; }

Value: bool

View source

public BoundingBox? Rect { get; set; }

The box boundingBox reports. Null when the page does not lay it out.

Value: BoundingBox

View source

public string? Role { get; init; }

Value: string

View source

public bool Secure { get; set; }

Value: bool

View source

public bool Selected { get; set; }

Value: bool

View source

public string? TestId { get; init; }

Value: string

View source

public string? Text { get; set; }

Value: string

View source

public string? Value { get; set; }

Value: string

View source