Table of Contents

Class ContextLocator

Namespace
WebDriverBiDi.BrowsingContext
Assembly
WebDriverBiDi.dll

Represents a locator for locating context nodes of given browsing contexts like, for example, the iframe element hosting a BrowsingContext in the iframe.

public class ContextLocator : Locator
Inheritance
ContextLocator
Inherited Members

Constructors

ContextLocator(string)

Initializes a new instance of the ContextLocator class.

public ContextLocator(string browsingContextId)

Parameters

browsingContextId string

The ID of the browsing context for which to locate the context node.

Properties

BrowsingContextId

Gets the browsing context for which to get the context node.

[JsonIgnore]
public string BrowsingContextId { get; }

Property Value

string

Type

Gets the type of locator.

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

Property Value

string