def delayed_assert_element(self, selector, by=By.CSS_SELECTOR,<EOL>timeout=settings.MINI_TIMEOUT):
self.__delayed_assert_count += <NUM_LIT:1><EOL>try:<EOL><INDENT>url = self.get_current_url()<EOL>if url == self.__last_url_of_delayed_assert:<EOL><INDENT>timeout = <NUM_LIT:1><EOL><DEDENT>else:<EOL><INDENT>self.__last_url_of_delayed_assert = url<EOL><DEDENT><DEDENT>except Exception:<EOL><INDENT>pass<EOL><DEDENT>try:<EOL><INDENT>self.wait_for_element_visible(selector, by=by, timeout=timeout)<EOL>return True<EOL><DEDENT>except Exception:<EOL><INDENT>self.__add_delayed_assert_failure()<EOL>return False<EOL><DEDENT>
A non-terminating assertion for an element on a page.
            Failures will be saved until the process_delayed_asserts()
            method is called from inside a test, likely at the end of it.