Class XPathLocator
- Namespace
- WebDriverBiDi.BrowsingContext
- Assembly
- WebDriverBiDi.dll
Represents a locator for locating nodes via XPath.
public class XPathLocator : Locator
- Inheritance
-
XPathLocator
- Inherited Members
Constructors
XPathLocator(string)
Initializes a new instance of the XPathLocator class.
public XPathLocator(string value)
Parameters
valuestringThe XPath to use in locating nodes.
Properties
Type
Gets the type of locator.
[JsonPropertyName("type")]
public override string Type { get; }
Property Value
Value
Gets the XPath to use to locate nodes.
[JsonPropertyName("value")]
public string Value { get; }