def _wait_until(self, predicate, timeout=None, poll_frequency=0.5):
    "Wait until the value returned by predicate is not False or\n        the timeout is elapsed.\n        'predicate' takes the driver as argument.\n        "
    if (not timeout):
        timeout = self.explicit_wait
    wait.WebDriverWait(self.driver, timeout, poll_frequency).until(predicate)
Wait until the value returned by predicate is not False or
the timeout is elapsed.
'predicate' takes the driver as argument.
def _wait_until(self, predicate, timeout=None, poll_frequency=0.5):
    "Wait until the value returned by predicate is not False or\n        the timeout is elapsed.\n        'predicate' takes the driver as argument.\n        "
    if (not timeout):
        timeout = self.explicit_wait
    wait.WebDriverWait(self.driver, timeout, poll_frequency).until(predicate)