Skip to content

IKeyboard

Namespace: PuppeteerSharp.Input

public interface 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.

Derived: CdpKeyboard, Keyboard

View source

Made with love by Dario Kondratiuk