Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
weboob
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
175
Issues
175
List
Boards
Labels
Milestones
Merge Requests
48
Merge Requests
48
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
weboob
weboob
Commits
c04d8834
Commit
c04d8834
authored
Feb 20, 2019
by
Maxime Gasselin
Committed by
Romain Bignon
Feb 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[binck] Handle ActionNeeded for password changing
The url changed and the xpath too. Closes: 33297@sibi
parent
1d394032
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
modules/binck/browser.py
modules/binck/browser.py
+2
-1
modules/binck/pages.py
modules/binck/pages.py
+1
-1
No files found.
modules/binck/browser.py
View file @
c04d8834
...
...
@@ -57,7 +57,8 @@ class BinckBrowser(LoginBrowser):
history
=
URL
(
r'/TransactionsOverview/GetTransactions'
,
r'/TransactionsOverview/FilteredOverview'
,
HistoryPage
)
questions
=
URL
(
r'/FDL_Complex_FR_Compte'
,
QuestionPage
)
change_pass
=
URL
(
r'/ChangePassword/Index'
,
ChangePassPage
)
change_pass
=
URL
(
r'/ChangePassword/Index'
,
r'/EditSetting/GetSetting\?code=MutationPassword'
,
ChangePassPage
)
def
deinit
(
self
):
if
self
.
page
and
self
.
page
.
logged
:
...
...
modules/binck/pages.py
View file @
c04d8834
...
...
@@ -64,7 +64,7 @@ class HomePage(LoggedPage, HTMLPage):
class
ChangePassPage
(
LoggedPage
,
HTMLPage
):
def
on_load
(
self
):
message
=
CleanText
(
'//h3'
)(
self
.
doc
)
message
=
CleanText
(
'//h3'
)(
self
.
doc
)
or
CleanText
(
'//h1'
)(
self
.
doc
)
raise
BrowserPasswordExpired
(
message
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment