doClick

void doClick(@NotNull CWidgetId aWidgetId,
             int aPressTime);

The function simulates a mouse click. The parameter aPressTime specifies for how many milliseconds the mouse button should be pressed. 100 ms is a good value for it.

button checkbox radiobutton menu menuitem radiobuttonmenuitem checkboxmenuitem