Table of Contents

Namespace PuppeteerSharp.Input

Classes

ClickOptions

Options to use when clicking.

DownOptions

options to use with DownAsync(string, 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 MoveAsync(decimal, decimal, 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.

Interfaces

IKeyboard

Keyboard provides an api for managing a virtual keyboard. The high level api is TypeAsync(string, TypeOptions), which takes raw characters and generates proper keydown, keypress/input, and keyup events on your page.

For finer control, you can use DownAsync(string, 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.

ITouchscreen

Provides methods to interact with the touch screen.

Enums

MouseButton

The type of button click to use with DownAsync(ClickOptions), UpAsync(ClickOptions) and ClickAsync(decimal, decimal, ClickOptions).