ok directly raise the error
This commit is contained in:
parent
3cf99f7b46
commit
1c4416b4cf
1 changed files with 2 additions and 2 deletions
|
|
@ -138,5 +138,5 @@ class LoginPage2(BasePage):
|
||||||
self.browser.submit(nologin=True)
|
self.browser.submit(nologin=True)
|
||||||
|
|
||||||
class StopPage(BasePage):
|
class StopPage(BasePage):
|
||||||
def error(self):
|
def on_loaded(self):
|
||||||
return True
|
raise BrowserIncorrectPassword('Please login on website to fill the form and retry')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue