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)
|
||||
|
||||
class StopPage(BasePage):
|
||||
def error(self):
|
||||
return True
|
||||
def on_loaded(self):
|
||||
raise BrowserIncorrectPassword('Please login on website to fill the form and retry')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue