Practice Lab

Mouse and keyboard actions

Things a normal click() cannot do: hover, double click, right click, drag and drop, a slider, and keys such as Enter and Tab.

1. Mouse actions

Hover

Double click

Right click

Right-click anywhere in this box

Drag and drop

Drag me
Drop here

2. A slider

Value: 50

3. Keyboard

Last key:

Press Tab to move from the first field to the second

Focus: none

Copy the text from the first box and paste it into the second