I'm doing it:
try: self.failUnless(sel.is_text_present("F!")) #sel.is_text_present("F!") is false except AssertionError, e: print("x"+e+"y") sys.exit()
prints nothing but xy. no class name or anything else. What usually contains an error in AssertionError?
edit: obviously, the user provides his own message. selenium generated many of them:
except AssertionError, e: self.verificationErrors.append(str(e))
without sending a message at all, so it adds a bunch of blank lines to the Errors check.
source share