def wait_for_element(<EOL>self, using, value, timeout=<NUM_LIT>,<EOL>interval=<NUM_LIT:1000>, asserter=is_displayed):
if not callable(asserter):<EOL><INDENT>raise TypeError('<STR_LIT>')<EOL><DEDENT>@retry(<EOL>retry_on_exception=lambda ex: isinstance(ex, WebDriverException),<EOL>stop_max_delay=timeout,<EOL>wait_fixed=interval<EOL>)<EOL>def _wait_for_element(ctx, using, value):<EOL><INDENT>el = ctx.element(using, value)<EOL>asserter(el)<EOL>return el<EOL><DEDENT>return _wait_for_element(self, using, value)<EOL>
Wait for element till satisfy the given condition

        Support:
            Android iOS Web(WebView)

        Args:
            using(str): The element location strategy.
            value(str): The value of the location strategy.
            timeout(int): How long we should be retrying stuff.
            interval(int): How long between retries.
            asserter(callable): The asserter func to determine the result.

        Returns:
            Return the Element.

        Raises:
            WebDriverException.