Provides methods to query element properties and attributes. Inspired by Selenium's attribute and property access patterns.
public static class ElementAttributes
kind:method, kind:property, kind:ctor. Press Esc to clear.GetAccessibleName(Control)Gets the accessible name for an element (for accessibility testing).GetAllAttributes(Control)Gets all available attributes from an element.GetAttribute(Control, String)Gets a standard attribute value from an element. Supports common attributes like: id, name, class, text, value, enabled, visible, etc.GetAttributes(Control, String[])Gets multiple attributes from an element.GetCssValue(Control, String)Gets the CSS value for a property (Avalonia equivalent).GetRole(Control)Gets the ARIA role equivalent for an element.HasAttribute(Control, String)Checks if the element has a specific attribute.HasClass(Control, String)Checks if the element has a specific class.