Click types

Each button responds only to its own kind of click.

#singleClickBtn#doubleClickBtn#rightClickBtn
No click yet.

Tricky buttons

A random id on every load, a disabled button, and elements that behave like buttons but aren't.

//button[text()='Dynamic id'][id^="dyn-"]#disabledBtn
Anchor as button
Div as button

Dynamic button id right now:

Try the buttons above.

Counter and loading button

Assert on a changing number, and on a button that shows a loading state.

#counterValue#incrementBtn#saveBtn
0

Mouse movement

Use action chains to move to offsets, and catch a button that jumps away on hover.

#mousePad#mouseCoords#runawayBtn
Move the mouse here
Pointer events appear here.