login form is now the second form on the page
This commit is contained in:
parent
63c934f889
commit
c64e8d598b
1 changed files with 2 additions and 2 deletions
|
|
@ -31,12 +31,12 @@ from weboob.tools.capabilities.bank.transactions import FrenchTransaction
|
|||
|
||||
class LoginPage(HTMLPage):
|
||||
def enter_login(self, username):
|
||||
form = self.get_form(nr=0)
|
||||
form = self.get_form(nr=1)
|
||||
form['name'] = username
|
||||
form.submit()
|
||||
|
||||
def enter_password(self, password):
|
||||
form = self.get_form(nr=0)
|
||||
form = self.get_form(nr=1)
|
||||
form['pass'] = password
|
||||
form.submit()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue