-
Home
-
API
-
Avalonia.HeadlessTestingFramework
-
TreeXPath
-
Methods
-
SelectFirst(String)
SelectFirst(String) Method
Definition
Selects the first node matching the XPath expression.
public object? SelectFirst(string xpath)
Parameters
- xpath
- String
The XPath expression.
Returns
- Object
- The first matching node, or null.