Table of Contents

Class LocatorClickOptions

Namespace
PuppeteerSharp.Locators
Assembly
PuppeteerSharp.dll

Options for locator click actions.

public class LocatorClickOptions
Inheritance
LocatorClickOptions

Properties

Button

Gets or sets the mouse button to use for clicking.

public MouseButton Button { get; set; }

Property Value

MouseButton

CancellationToken

Gets or sets the cancellation token to cancel the action.

public CancellationToken CancellationToken { get; set; }

Property Value

CancellationToken

Count

Gets or sets the number of clicks.

public int Count { get; set; }

Property Value

int

Delay

Gets or sets the time to wait between mousedown and mouseup in milliseconds.

public int Delay { get; set; }

Property Value

int

OffSet

Gets or sets the offset for the click relative to the top-left corner of the element's padding box.

public Offset? OffSet { get; set; }

Property Value

Offset?