MentorAgent Docs
Menu

Questa pagina non è ancora tradotta in italiano: qui la trovi in inglese.

RiferimentoPacchetto: Novior.MentorAgent.Abstractions

PageObservedElement class

The PageObservedElement class of Novior.MentorAgent.Abstractions.Models: One element of a page the widget observed in the browser (story 1640, page.observe)…

In questa pagina

One element of a page the widget observed in the browser (story 1640, page.observe): sent by the widget to the application, and by the WebAssembly client of Novior.MentorAgent.Blazor to the hub of Novior.MentorAgent.Server (ReportObservedPage). Structure only: there is no field for a value. Its texts come from the page: the application reads them as untrusted data.

Namespace: Novior.MentorAgent.Abstractions.Models. Package: Novior.MentorAgent.Abstractions.

public sealed class PageObservedElement

Terminal
dotnet add package Novior.MentorAgent.Abstractions

public PageObservedElement()

public string Element { get; set; }

The element's tag, for example button.

public string? Form { get; set; }

The form, or group of fields, it belongs to.

public string? Label { get; set; }

Its label: none for an element of a structure that repeats, the column's header in a table.

public string? Role { get; set; }

Its ARIA role, when it has one.

public string Selector { get; set; }

Its selector: the element's own, or for a structure that repeats one that fits every element in its place.

public string? Type { get; set; }

The type of an input or a button.