def wait(self, timeout=<NUM_LIT:3>):
start = time.time()<EOL>while not self.exists():<EOL><INDENT>self.poco.sleep_for_polling_interval()<EOL>if time.time() - start > timeout:<EOL><INDENT>break<EOL><DEDENT><DEDENT>return self<EOL>
Block and wait for max given time before the UI element appears.

Args:
    timeout: maximum waiting time in seconds

Returns:
    :py:class:`UIObjectProxy <poco.proxy.UIObjectProxy>`: self