'Waits until `text` disappears from current page.
Fails if `timeout` expires before the `text` disappears. See
`introduction` for more information about `timeout` and its
default value.
`error` can be used to override the default error message.
See also `Wait Until Page Contains`, `Wait For Condition`,
`Wait Until Element Is Visible` and BuiltIn keyword `Wait Until
Keyword Succeeds`.'

@keyword
def wait_until_page_does_not_contain(self, text, timeout=None, error=None):

    def check_present():
        present = self.element.is_text_present(text)
        if (not present):
            return
        else:
            return (error or ("Text    '%s'    did    not    disappear    in    %s" % (text, self._format_timeout(timeout))))
    self._wait_until_no_error(timeout, check_present)
