Table of Contents

Class TriggerCommandSettings

Namespace
OpenQA.Selenium.DevTools.V146.Autofill
Assembly
Selenium.WebDriver.dll

Trigger autofill on a form identified by the fieldId. If the field and related form cannot be autofilled, returns an error.

public sealed class TriggerCommandSettings : ICommand
Inheritance
TriggerCommandSettings
Implements
Inherited Members

Properties

Address

Address to fill out the form. Address data is not saved. Mutually exclusive with card.

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

Property Value

Address

Card

Credit card information to fill out the form. Credit card data is not saved. Mutually exclusive with address.

[JsonPropertyName("card")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CreditCard? Card { get; set; }

Property Value

CreditCard

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

FieldId

Identifies a field that serves as an anchor for autofill.

[JsonPropertyName("fieldId")]
public long FieldId { get; set; }

Property Value

long

FrameId

Identifies the frame that field belongs to.

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

Property Value

string