Enum MouseButton
- Namespace
- PuppeteerSharp.Input
- Assembly
- PuppeteerSharp.dll
The type of button click to use with DownAsync(ClickOptions), UpAsync(ClickOptions) and ClickAsync(decimal, decimal, ClickOptions).
[JsonConverter(typeof(JsonStringEnumMemberConverter<MouseButton>))]
[Flags]
public enum MouseButton
Fields
[EnumMember(Value = "back")] Back = 8
The back mouse button.
[EnumMember(Value = "forward")] Forward = 16
The forward mouse button.
[EnumMember(Value = "left")] Left = 1
The left mouse button.
[EnumMember(Value = "middle")] Middle = 4
The middle mouse button.
[EnumMember(Value = "none")] None = 0
Non specified.
[EnumMember(Value = "right")] Right = 2
The right mouse button.