* Fires a left-click event on the given target (typically a DOM node).
*/
public static void click(EventTarget target) {
MouseEvent evt = (MouseEvent) getDocument().createEvent(
Document.Events.MOUSE);
evt.initMouseEvent("click", true, true, null, 0, 0, 0, 0, 0, false, false,
false, false, MouseEvent.Button.PRIMARY, null);
target.dispatchEvent(evt);
}
}