Table of Contents

Class AwaitPromiseCommandSettings

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

Add handler to promise with given promise object id.

public sealed class AwaitPromiseCommandSettings : ICommand
Inheritance
AwaitPromiseCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

GeneratePreview

Whether preview should be generated for the result.

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

Property Value

bool?

PromiseObjectId

Identifier of the promise.

[JsonPropertyName("promiseObjectId")]
public string PromiseObjectId { get; set; }

Property Value

string

ReturnByValue

Whether the result is expected to be a JSON object that should be sent by value.

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

Property Value

bool?