mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-24 19:23:03 +02:00
Adding id of submitBtn for br.submit() to avoid redirected to login page after passing correct email and password.
This commit is contained in:
parent
469ec4d2fe
commit
f1dfdc5c6a
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ def get_browser(self):
|
|||
br.select_form(name='LA7010Form01')
|
||||
br['LA7010Form01:LA7010Email'] = self.username
|
||||
br['LA7010Form01:LA7010Password'] = self.password
|
||||
br.submit()
|
||||
br.submit(id='LA7010Form01:submitBtn')
|
||||
# response = br.response()
|
||||
print "-------------------------JS redirect---------------------------------------"
|
||||
br.select_form(nr=0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue