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
CancellationToken
Gets or sets the cancellation token to cancel the action.
public CancellationToken CancellationToken { get; set; }
Property Value
Count
Gets or sets the number of clicks.
public int Count { get; set; }
Property Value
Delay
Gets or sets the time to wait between mousedown and mouseup in milliseconds.
public int Delay { get; set; }
Property Value
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; }