Element 1 - All Actions:
click - Simple left clickright_click - Right click (context menu blocked)ctrl+click - Ctrl/Cmd + Clickshift+click - Shift + Clickctrl+shift+click - Ctrl + Shift + Clickclick right_click - Click then right-click within 500msclick click - Click twice in sequenceElement 2 - Using rclick alias:
click - Simple clickrclick - Right click (using rclick alias)click rclick - Click then right-click sequence (using alias)Note: rclick is an alias for right_click and works identically.
Tip: Try different click combinations! Right-click menu will be blocked on test elements.
click action is detected GLOBALLY (anywhere on the page).
Try clicking outside the test elements - the click action will still trigger! The is_inside
parameter tells you if the click was inside or outside the element (perfect for "close popup if clicked outside" logic).
right_click action is detected ONLY when clicking ON the element.
Try right-clicking outside the test elements - the browser's context menu will appear normally.
Click anywhere in this gray area (outside the test elements above) to see that click is detected globally!
This is just empty space - but clicking here will still trigger the registered click actions!