Class AttributeExtensions
Defines a collection of extensions for retrieving element attributes.
Inheritance
System.Object
AttributeExtensions
Namespace: Legerity.Uno.Extensions
Assembly: Legerity.Uno.dll
Syntax
public static class AttributeExtensions : object
Methods
| Improve this Doc View SourceGetAutomationId(IWebElement)
Gets the value of the specified automation ID for this element.
Declaration
public static string GetAutomationId(this IWebElement element)
Parameters
Type | Name | Description |
---|---|---|
IWebElement | element | The element to retrieve an automation ID for. |
Returns
Type | Description |
---|---|
System.String | The element's automation ID. |
GetXamlName(IWebElement)
Gets the value of the specified XAML name for this element.
Declaration
public static string GetXamlName(this IWebElement element)
Parameters
Type | Name | Description |
---|---|---|
IWebElement | element | The element to retrieve a XAML name for. |
Returns
Type | Description |
---|---|
System.String | The element's XAML name. |