public function waitForJqueryAjax($time = 10) { return $this->waitForJS('return jQuery.active == 0', $time); }