def wait_for_ajax(self):
        count = 0
        while self.timeout < count:
            time.sleep(1)
            count += 1
            if self.selenium.execute_script("return jQuery.active == 0"):
                return
        raise Exception("Wait for AJAX timed out after %s seconds" % count)
dataset/ETHPy150Open mozilla/kitsune/tests/pages/page.py/Page.wait_for_ajax/swapped operands of `<`