diff --git a/modules/ing/pages/accounts_list.py b/modules/ing/pages/accounts_list.py index 1bf232a9..548e6d37 100644 --- a/modules/ing/pages/accounts_list.py +++ b/modules/ing/pages/accounts_list.py @@ -36,10 +36,10 @@ class AccountsList(BasePage): def get_list(self): ids = set() - for td in self.document.xpath('.//td[@nowrap="nowrap"]'): + for tr in self.document.xpath('//tr[@align="center"]'): account = Account() account.currency = Currency.CUR_EUR - link = td.xpath('.//a')[0] + link = tr.xpath('.//a')[0] account._index = int(re.search('\d', link.attrib['href']).group(0)) if not account._index in ids: ids.add(account._index)