def METHOD_NAME():
    """
    with default rendering (built into selene's condition) of error message on failure
    AND simplified syntax with lambdas
    """
    browser.open('https://the-internet.herokuapp.com/notification_message_rendered')
    browser.wait.for_(
        lambda _: (
            browser.element('[href*=notification_message]').click(),
            have.exact_text('Action successful\n×')(browser.element('#flash')),
        )
    )