'Verifies that current frame contains `text`.
See `Page Should Contain ` for explanation about `loglevel` argument.'

@keyword
def current_frame_should_not_contain(self, text, loglevel='INFO'):

    if self.is_text_present(text):
        self.ctx.log_source(loglevel)
        raise AssertionError(("Page    should    not    have    contained    text    '%s'    but    it    did" % text))
    self.info(("Current    page    should    not    contain    text    '%s'." % text))
