Skip to content

ClickOptions

Namespace: PuppeteerSharp.Input

public class ClickOptions

Options to use when clicking.

Inheritance: object

View source

public MouseButton Button { get; set; }

The button to use for the click. Defaults to Left.

Value: MouseButton

View source

public int Count { get; set; }

Defaults to 1. See https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/detail.

Value: int

View source

public int Delay { get; set; }

Time to wait between mousedown and mouseup in milliseconds. Defaults to 0.

Value: int

View source

public Offset? OffSet { get; set; }

Offset for the clickable point relative to the top-left corner of the border-box.

Value: Offset?

View source

Made with love by Dario Kondratiuk