Skip to main content

Home > @jsplumb/test > BrowserUITestSupport > clickOnElement

BrowserUITestSupport.clickOnElement() method#

Fire a click event on the given element

Signature:

clickOnElement(element: Element, clickCount?: number): void;

Parameters#

ParameterTypeDescription
elementElementElement to fire click event on
clickCountnumberDoes not cause the event to be fired this number of times, but is set on the resulting Event object. In some testing scenarios this ability is useful.

Returns:

void