support when there is an error
This commit is contained in:
parent
c207b109ab
commit
221f73d600
1 changed files with 5 additions and 0 deletions
|
|
@ -141,6 +141,11 @@ class ContractsPage(BasePage):
|
|||
self.browser.submit()
|
||||
|
||||
class AccountsPage(BasePage):
|
||||
def on_loaded(self):
|
||||
warn = self.document.xpath('//div[@id="attTxt"]')
|
||||
if len(warn) > 0:
|
||||
raise BrowserUnavailable(warn[0].text)
|
||||
|
||||
def get_list(self):
|
||||
l = []
|
||||
ids = set()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue