Skip to content

PuppeteerSharp.Input

API reference

Keyboard, mouse, and touch input.

Type Summary
ClickOptions Options to use when clicking.
DownOptions options to use with DownOptions).
Key Utility class to be used with Keyboard operations.
Keyboard Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
Mouse Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
MoveOptions options to use MoveOptions).
PressOptions options to use when pressing a key.
Touchscreen Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
TypeOptions Options to use when typing.
Type Summary
IKeyboard Keyboard provides an api for managing a virtual keyboard. The high level api is TypeOptions), which takes raw characters and generates proper keydown, keypress/input, and keyup events on your page. For finer control, you can use DownOptions), UpAsync(string), and SendCharacterAsync(string) to manually fire events as if they were generated from a real keyboard.
IMouse Provides methods to interact with the mouse.
ITouchHandle The TouchHandle interface exposes methods to manipulate touches that have been started.
ITouchscreen Provides methods to interact with the touch screen.
Type Summary
MouseButton The type of button click to use with DownAsync(ClickOptions), UpAsync(ClickOptions) and ClickOptions).

Made with love by Dario Kondratiuk