Docs (4.0.0)
class TestOutputElement method

click

Simulates a user click or tap event.

click(): this

Notes

  • This method sends mousedown, mouseup, and click events immediately after each other.
  • This method also takes care of switching toggle checked 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