Actions API

A low-level interface for providing virtualised device input to the web browser.

Unlike the high-level element interactions, which conducts additional validations, the Actions API provides granular control over input devices.

Selenium provides access to 3 input sources: key inputs for keyboard devices, pointer inputs for a mouse, pen or touch device, and a wheel inputs for scroll wheel support.


Teclado

A representation of any key input device for interacting with a web page.

Ações do mouse em detalhe

Mouse representa um evento do mouse. Ações do mouse são realizadas usando interface de baixo nível que nos permite fornecer ação de entrada de dispositivo virtualizado para o navegador da web.

Scroll wheel actions

A representation of a scroll wheel input device for interacting with a web page.

Última modificação January 12, 2022: Example code (#920) [deploy site] (d22cd1c186e)