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