Table of Contents

Class PropertyDescriptor

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

Object property descriptor.

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

Constructors

PropertyDescriptor(string, bool, bool)

Object property descriptor.

public PropertyDescriptor(string Name, bool Configurable, bool Enumerable)

Parameters

Name string

Property name or symbol description.

Configurable bool

True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.

Enumerable bool

True if this property shows up during enumeration of the properties on the corresponding object.

Properties

Configurable

True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.

public bool Configurable { get; init; }

Property Value

bool

Enumerable

True if this property shows up during enumeration of the properties on the corresponding object.

public bool Enumerable { get; init; }

Property Value

bool

Get

A function which serves as a getter for the property, or undefined if there is no getter (accessor descriptors only).

public RemoteObject? Get { get; init; }

Property Value

RemoteObject

IsOwn

True if the property is owned for the object.

public bool? IsOwn { get; init; }

Property Value

bool?

Name

Property name or symbol description.

public string Name { get; init; }

Property Value

string

Set

A function which serves as a setter for the property, or undefined if there is no setter (accessor descriptors only).

public RemoteObject? Set { get; init; }

Property Value

RemoteObject

Symbol

Property symbol object, if the property is of the symbol type.

public RemoteObject? Symbol { get; init; }

Property Value

RemoteObject

Value

The value associated with the property.

public RemoteObject? Value { get; init; }

Property Value

RemoteObject

WasThrown

True if the result was thrown during the evaluation.

public bool? WasThrown { get; init; }

Property Value

bool?

Writable

True if the value associated with the property may be changed (data descriptors only).

public bool? Writable { get; init; }

Property Value

bool?