def _wait_until_ajax_complete(self, seconds, message):
def condition(driver):<EOL><INDENT>return driver.execute_script("<STR_LIT>")<EOL><DEDENT>WebDriverWait(self.browser, seconds).until(condition, message)<EOL>
waits until all ajax requests are complete