This commit is contained in:
Vincent Paredes 2014-07-08 15:18:24 +02:00 committed by Romain Bignon
commit 439ed46f13
3 changed files with 60 additions and 2 deletions

View file

@ -119,6 +119,11 @@ class LoginPage(BasePage):
self.browser.form.set_all_readonly(False)
self.browser['identifiant'] = login.encode('utf-8')
self.browser['postClavierXor'] = base64.b64encode(self.myXOR(password,seed))
try:
self.browser['identifiantRouting'] = self.browser.IDENTIFIANT_ROUTING
except AttributeError:
pass
try:
self.browser.submit(nologin=True)
except BrowserUnavailable: