handle lcl pro https://professionnels.secure.lcl.fr
This commit is contained in:
parent
0325c12397
commit
439ed46f13
3 changed files with 60 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue