code: def wait_until_page_does_not_contain_element(self, locator, timeout=None, error=None):
          
  
          def check_present():
              present = self._is_element_present(locator)
              if not present:
                  return
              else:
                  return error or "Element '%s' did not disappear in %s" % (locator, self._format_timeout(timeout))
  
          self._wait_until_no_error(timeout, check_present)
docs: Waits until element specified with `locator` disappears from current page.
  
          Fails if `timeout` expires before the element 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 Until Page Does Not Contain`,
          `Wait Until Page Contains Element` and
          BuiltIn keyword `Wait Until Keyword Succeeds`.