Commit f8f51357 f8f51357414f4e4bc59dbc513397a628bf7c3433 by Trent Ohannessian

Add an event emit for clicking

Add an event emit for clicking, passing the selector.
1 parent 89cfda79
......@@ -467,6 +467,7 @@ Casper.prototype.click = function click(selector) {
element.focus();
}
}, selector);
this.emit('click', selector);
return success;
};
......