click()
Simulates a user click or tap event.
click(): this;
Notes
- This method sends
mousedown,mouseup, andclickevents immediately after each other. - This method also takes care of switching
togglechecked states, and sets focus on a (parent) focusable element. - An error is thrown if the element is hidden or currently not part of rendered output (see isOutput()).
Related
class TestOutputElement
A class that represents a rendered output element.
