Table of Contents

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

value string

The CSS selector to use in locating nodes.

Properties

Type

Gets the type of locator.

[JsonPropertyName("type")]
public override string Type { get; }

Property Value

string

Value

Gets the CSS selector to use in locating nodes.

[JsonPropertyName("value")]
public string Value { get; }

Property Value

string