'Wait up to ``timeout`` seconds for element specified by ``selector``
to disappear, returning ``None``.'

def wait_to_disappear(self, selector, timeout=2):

    end_time = (time.time() + timeout)
    while (time.time() < end_time):
        if (not self.has_element(selector)):
            return
    raise NeverLeft(selector)
