/** Asserts that there were no verification errors during the current test, failing immediately if any are found */ public void checkForVerificationErrors() { stb.checkForVerificationErrors(); }
@AfterMethod @Override public void checkForVerificationErrors() { super.checkForVerificationErrors(); }
/** checks for verification errors and stops the browser */ public void tearDown() throws Exception { try { checkForVerificationErrors(); } finally { if (selenium != null) { selenium.stop(); selenium = null; } } }