Table of Contents

Class ExecutionContextDescription

Namespace
Selenium.WebDriver.BiDi.Cdp.Runtime
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Description of an isolated world.

public sealed record ExecutionContextDescription : IEquatable<ExecutionContextDescription>
Inheritance
ExecutionContextDescription
Implements
Inherited Members

Constructors

ExecutionContextDescription(ExecutionContextId, string, string, string)

Description of an isolated world.

public ExecutionContextDescription(ExecutionContextId Id, string Origin, string Name, string UniqueId)

Parameters

Id ExecutionContextId

Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.

Origin string

Execution context origin.

Name string

Human readable name describing given context.

UniqueId string

A system-unique execution context identifier. Unlike the id, this is unique across multiple processes, so can be reliably used to identify specific context while backend performs a cross-process navigation.

Properties

AuxData

Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string}

public JsonElement? AuxData { get; init; }

Property Value

JsonElement?

Id

Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.

public ExecutionContextId Id { get; init; }

Property Value

ExecutionContextId

Name

Human readable name describing given context.

public string Name { get; init; }

Property Value

string

Origin

Execution context origin.

public string Origin { get; init; }

Property Value

string

UniqueId

A system-unique execution context identifier. Unlike the id, this is unique across multiple processes, so can be reliably used to identify specific context while backend performs a cross-process navigation.

public string UniqueId { get; init; }

Property Value

string