Table of Contents

Class ForceShowPopoverCommandSettings

Namespace
OpenQA.Selenium.DevTools.V152.DOM
Assembly
Selenium.WebDriver.dll

When enabling, this API force-opens the popover identified by nodeId and keeps it open until disabled.

public sealed class ForceShowPopoverCommandSettings : ICommand
Inheritance
ForceShowPopoverCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Enable

If true, opens the popover and keeps it open. If false, closes the popover if it was previously force-opened.

[JsonPropertyName("enable")]
public bool Enable { get; set; }

Property Value

bool

InvokerNodeId

Optional ID of the element invoking this popover, used to establish the implicit anchor. If not provided, it will fall back to the first invoker in the document, preferring elements with a popovertarget attribute over those with a commandfor attribute. Note that if there are multiple invokers, this is just an estimate.

[JsonPropertyName("invokerNodeId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? InvokerNodeId { get; set; }

Property Value

long?

NodeId

Id of the popover HTMLElement

[JsonPropertyName("nodeId")]
public long NodeId { get; set; }

Property Value

long