SelectFirst(String) Method

Definition

Assembly HeadlessTestingFramework.dll

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.