Table of Contents

Class RemoteObject

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

Mirror object referencing original JavaScript object.

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

Constructors

RemoteObject(string)

Mirror object referencing original JavaScript object.

public RemoteObject(string Type)

Parameters

Type string

Object type.

Properties

ClassName

Object class (constructor) name. Specified for object type values only.

public string? ClassName { get; init; }

Property Value

string

CustomPreview

public CustomPreview? CustomPreview { get; init; }

Property Value

CustomPreview

DeepSerializedValue

Deep serialized value.

public DeepSerializedValue? DeepSerializedValue { get; init; }

Property Value

DeepSerializedValue

Description

String representation of the object.

public string? Description { get; init; }

Property Value

string

ObjectId

Unique object identifier (for non-primitive values).

public RemoteObjectId? ObjectId { get; init; }

Property Value

RemoteObjectId

Preview

Preview containing abbreviated property values. Specified for object type values only.

public ObjectPreview? Preview { get; init; }

Property Value

ObjectPreview

Subtype

Object subtype hint. Specified for object type values only. NOTE: If you change anything here, make sure to also update subtype in ObjectPreview and PropertyPreview below.

public string? Subtype { get; init; }

Property Value

string

Type

Object type.

public string Type { get; init; }

Property Value

string

UnserializableValue

Primitive value which can not be JSON-stringified does not have value, but gets this property.

public UnserializableValue? UnserializableValue { get; init; }

Property Value

UnserializableValue

Value

Remote object value in case of primitive values or JSON values (if it was requested).

public JsonElement? Value { get; init; }

Property Value

JsonElement?