Table of Contents

Class RemoteObject

Namespace
OpenQA.Selenium.DevTools.V147.Runtime
Assembly
Selenium.WebDriver.dll

Mirror object referencing original JavaScript object.

public sealed class RemoteObject
Inheritance
RemoteObject
Inherited Members

Properties

ClassName

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

[JsonPropertyName("className")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ClassName { get; set; }

Property Value

string

CustomPreview

customPreview

[JsonPropertyName("customPreview")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CustomPreview? CustomPreview { get; set; }

Property Value

CustomPreview

DeepSerializedValue

Deep serialized value.

[JsonPropertyName("deepSerializedValue")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public DeepSerializedValue? DeepSerializedValue { get; set; }

Property Value

DeepSerializedValue

Description

String representation of the object.

[JsonPropertyName("description")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Description { get; set; }

Property Value

string

ObjectId

Unique object identifier (for non-primitive values).

[JsonPropertyName("objectId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ObjectId { get; set; }

Property Value

string

Preview

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

[JsonPropertyName("preview")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ObjectPreview? Preview { get; set; }

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.

[JsonPropertyName("subtype")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public RemoteObjectSubtypeValues? Subtype { get; set; }

Property Value

RemoteObjectSubtypeValues?

Type

Object type.

[JsonPropertyName("type")]
public RemoteObjectTypeValues Type { get; set; }

Property Value

RemoteObjectTypeValues

UnserializableValue

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

[JsonPropertyName("unserializableValue")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? UnserializableValue { get; set; }

Property Value

string

Value

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

[JsonPropertyName("value")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public object? Value { get; set; }

Property Value

object