Class ClickOptions
- Namespace
- PuppeteerSharp.Input
- Assembly
- PuppeteerSharp.dll
Options to use when clicking.
public class ClickOptions
- Inheritance
-
ClickOptions
Properties
Button
The button to use for the click. Defaults to Left.
public MouseButton Button { get; set; }
Property Value
Count
Defaults to 1. See https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/detail.
public int Count { get; set; }
Property Value
Delay
Time to wait between mousedown
and mouseup
in milliseconds. Defaults to 0.
public int Delay { get; set; }
Property Value
OffSet
Offset for the clickable point relative to the top-left corner of the border-box.
public Offset? OffSet { get; set; }