'Looks for \'patt\' in the current browser page'

def check_page_for_string(self, patt):

    page = self.last_page()
    if (page.find(patt) == (-1)):
        fname = self.write_temp_file(page)
        errmsg = ("no    match    to    '%s'\npage    content    written    to    '%s'\npage:    [[%s]]" % (patt, fname, page))
        raise AssertionError(errmsg)
