checking website version after login
This commit is contained in:
parent
76555238dc
commit
9a657f8d75
1 changed files with 2 additions and 1 deletions
|
|
@ -79,8 +79,9 @@ class Paypal(Browser):
|
||||||
if self.is_on_page(LoginPage):
|
if self.is_on_page(LoginPage):
|
||||||
raise BrowserIncorrectPassword()
|
raise BrowserIncorrectPassword()
|
||||||
|
|
||||||
def get_accounts(self):
|
|
||||||
self.find_website_version()
|
self.find_website_version()
|
||||||
|
|
||||||
|
def get_accounts(self):
|
||||||
if self.website == "old":
|
if self.website == "old":
|
||||||
if not self.is_on_page(AccountPage):
|
if not self.is_on_page(AccountPage):
|
||||||
self.location('/en/cgi-bin/webscr?cmd=_account&nav=0.0')
|
self.location('/en/cgi-bin/webscr?cmd=_account&nav=0.0')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue