Table of Contents

Class GetPropertiesCommandSettings

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

Returns properties of a given object. Object group of the result is inherited from the target object.

public sealed class GetPropertiesCommandSettings : ICommand
Inheritance
GetPropertiesCommandSettings
Implements
Inherited Members

Properties

AccessorPropertiesOnly

If true, returns accessor properties (with getter/setter) only; internal properties are not returned either.

[JsonPropertyName("accessorPropertiesOnly")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? AccessorPropertiesOnly { get; set; }

Property Value

bool?

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

GeneratePreview

Whether preview should be generated for the results.

[JsonPropertyName("generatePreview")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? GeneratePreview { get; set; }

Property Value

bool?

NonIndexedPropertiesOnly

If true, returns non-indexed properties only.

[JsonPropertyName("nonIndexedPropertiesOnly")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? NonIndexedPropertiesOnly { get; set; }

Property Value

bool?

ObjectId

Identifier of the object to return properties for.

[JsonPropertyName("objectId")]
public string ObjectId { get; set; }

Property Value

string

OwnProperties

If true, returns properties belonging only to the element itself, not to its prototype chain.

[JsonPropertyName("ownProperties")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? OwnProperties { get; set; }

Property Value

bool?