Skip to content

LocatorClickOptions

Namespace: PuppeteerSharp.Locators

public class LocatorClickOptions

Options for locator click actions.

Inheritance: object

View source

public MouseButton Button { get; set; }

Gets or sets the mouse button to use for clicking.

Value: MouseButton

View source

public CancellationToken CancellationToken { get; set; }

Gets or sets the cancellation token to cancel the action.

Value: CancellationToken

View source

public int Count { get; set; }

Gets or sets the number of clicks.

Value: int

View source

public int Delay { get; set; }

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

Value: int

View source

public Offset? OffSet { get; set; }

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

Value: Offset?

View source

Made with love by Dario Kondratiuk