Fixed the #wait_for_ajax method to actually work in the needed Page Class context :-)