Some of the sites I deal with have heavy ajax requests. I plan to wait for Ajax request completion before clicking for asserting for element. Currently I use
This doesn't work? http://api.jquery.com/ajaxstop/
$(document).ajaxStop(function() { // Do stuff here... });