def wait_for_value(self, locator, text):
        for i in range(timeout_seconds):
            try:
                e = self.driver.find_element_by_locator(locator)
                if e.value == text:
                    break
            except:
                pass
            time.sleep(1)
        else:
            raise ElementTextTimeout("%s value timed out" % locator)
        return True
Synchronization on some value being set in a particular element.
dataset/ETHPy150Open Element-34/py.saunter/saunter/po/webdriver/page.py/Page.wait_for_value