fix detection of login fail
This commit is contained in:
parent
f0e4d2d652
commit
14b6ac9f46
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ class Barclays(BaseBrowser):
|
||||||
BaseBrowser.__init__(self, *args, **kwargs)
|
BaseBrowser.__init__(self, *args, **kwargs)
|
||||||
|
|
||||||
def is_logged(self):
|
def is_logged(self):
|
||||||
return self.page is not None and not self.is_on_page((LoginPage, IndexPage, LoginPage))
|
return self.page is not None and not self.is_on_page((LoginPage, IndexPage, Login2Page))
|
||||||
|
|
||||||
def home(self):
|
def home(self):
|
||||||
if self.is_logged():
|
if self.is_logged():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue