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()
|
self.browser.submit()
|
||||||
|
|
||||||
class AccountsPage(BasePage):
|
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):
|
def get_list(self):
|
||||||
l = []
|
l = []
|
||||||
ids = set()
|
ids = set()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue