Skip to content

SerializedAXNode

Namespace: PuppeteerSharp.PageAccessibility

public class SerializedAXNode : IEquatable<SerializedAXNode>

AXNode.

Inheritance: object

Implements: IEquatable<SerializedAXNode>

View source

public SerializedAXNode()

Initializes a new instance of the SerializedAXNode class.

View source

public bool Atomic { get; set; }

Whether the live region is <a href=“https://www.w3.org/TR/wai-aria/#aria-atomic"&gt;atomic&lt;/a>.

Value: bool

View source

public string AutoComplete { get; set; }

What kind of autocomplete is supported by a control.

Value: string

View source

public bool Busy { get; set; }

Whether the node is <a href=“https://www.w3.org/TR/wai-aria/#aria-busy"&gt;busy&lt;/a>.

Value: bool

View source

public CheckedState Checked { get; set; }

Whether the checkbox is checked, or “mixed”.

Value: CheckedState

View source

public SerializedAXNode[] Children { get; set; }

Child nodes of this node, if any.

Value: SerializedAXNode\[\]

View source

public string Description { get; set; }

An additional human readable description of the node.

Value: string

View source

public string Details { get; set; }

The <a href=“https://www.w3.org/TR/wai-aria/#aria-details"&gt;details&lt;/a> for the node.

Value: string

View source

public bool Disabled { get; set; }

Whether the node is disabled.

Value: bool

View source

public string Errormessage { get; set; }

The <a href=“https://www.w3.org/TR/wai-aria/#aria-errormessage"&gt;error message</a> for the node.

Value: string

View source

public bool Expanded { get; set; }

Whether the node is expanded or collapsed.

Value: bool

View source

public bool Focused { get; set; }

Whether the node is focused.

Value: bool

View source

public string HasPopup { get; set; }

What kind of popup is currently being shown for a node.

Value: string

View source

public string Invalid { get; set; }

Whether and in what way this node’s value is invalid.

Value: string

View source

public string KeyShortcuts { get; set; }

Keyboard shortcuts associated with this node.

Value: string

View source

public int Level { get; set; }

The level of a heading.

Value: int

View source

public string Live { get; set; }

The <a href=“https://www.w3.org/TR/wai-aria/#aria-live"&gt;live&lt;/a> status of the node.

Value: string

View source

public string LoaderId { get; set; }

CDP-specific documentId. LoaderId is an experimental mechanism to establish unique IDs across navigations.

Value: string

View source

public bool Modal { get; set; }

Whether the node is <a href=“https://en.wikipedia.org/wiki/Modal_window"&gt;modal&lt;/a>.

Value: bool

View source

public bool Multiline { get; set; }

Whether the node text input supports multiline.

Value: bool

View source

public bool Multiselectable { get; set; }

Whether more than one child can be selected.

Value: bool

View source

public string Name { get; set; }

A human readable name for the node.

Value: string

View source

public string Orientation { get; set; }

Whether the node is oriented horizontally or vertically.

Value: string

View source

public CheckedState Pressed { get; set; }

Whether the toggle button is checked, or “mixed”.

Value: CheckedState

View source

public bool Readonly { get; set; }

Whether the node is read only.

Value: bool

View source

public string Relevant { get; set; }

The <a href=“https://www.w3.org/TR/wai-aria/#aria-relevant"&gt;relevant&lt;/a> changes for the live region.

Value: string

View source

public bool Required { get; set; }

Whether the node is required.

Value: bool

View source

public string Role { get; set; }

The <see fref=“https://www.w3.org/TR/wai-aria/#usage_intro"&gt;role&lt;/see>.

Value: string

View source

public string RoleDescription { get; set; }

A human readable alternative to the role.

Value: string

View source

public bool Selected { get; set; }

Whether the node is selected in its parent node.

Value: bool

View source

public string Url { get; set; }

URL for link elements.

Value: string

View source

public string Value { get; set; }

The current value of the node.

Value: string

View source

public int ValueMax { get; set; }

The maximum value in a node.

Value: int

View source

public int ValueMin { get; set; }

The minimum value in a node.

Value: int

View source

public string ValueText { get; set; }

A description of the current value.

Value: string

View source

public Task<IElementHandle> ElementHandleAsync()

Gets the element handle for this node. For text nodes, returns the parent element’s handle instead of the text node’s. Returns null if the frame has navigated to a new document since the snapshot.

Returns: Task<IElementHandle> — An IElementHandle for this node, or null if no handle is available.

View source

[SuppressMessage("Design", "CA1062:Validate arguments of public methods", Justification = "Exceptions should not be raised in this type of method.")]
public bool Equals(SerializedAXNode other)

Indicates whether the current object is equal to another object of the same type.

Parameters

Name Type Description
other SerializedAXNode An object to compare with this object.

Returns: bool — <a href=“https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool"&gt;true&lt;/a> if the current object is equal to the <code class=“paramref”>other</code> parameter; otherwise, <a href=“https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool"&gt;false&lt;/a>.

View source

public override bool Equals(object obj)

Determines whether the specified object is equal to the current object.

Parameters

Name Type Description
obj object The object to compare with the current object.

Returns: bool — <a href=“https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool"&gt;true&lt;/a> if the specified object is equal to the current object; otherwise, <a href=“https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool"&gt;false&lt;/a>.

View source

public override int GetHashCode()

Serves as the default hash function.

Returns: int — A hash code for the current object.

View source

Made with love by Dario Kondratiuk