From 1c4416b4cfbbf055d3a96546955f862301eb9ef6 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sat, 19 Jan 2013 19:39:49 +0100 Subject: [PATCH] ok directly raise the error --- modules/ing/pages/login.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ing/pages/login.py b/modules/ing/pages/login.py index c32635ef..21d1866f 100644 --- a/modules/ing/pages/login.py +++ b/modules/ing/pages/login.py @@ -138,5 +138,5 @@ class LoginPage2(BasePage): self.browser.submit(nologin=True) class StopPage(BasePage): - def error(self): - return True + def on_loaded(self): + raise BrowserIncorrectPassword('Please login on website to fill the form and retry')