chase: Update card button text
Chase changed the name of my credit card from *CREDIT CARD* to *Amazon Visa*. Just in case they change it again or something, let's match only on the card number.master
parent
dd0edc599e
commit
2890597673
|
@ -604,7 +604,7 @@ class Chase:
|
||||||
log.info('Downloading transactions from %s to %s', from_date, to_date)
|
log.info('Downloading transactions from %s to %s', from_date, to_date)
|
||||||
fmt = '%m/%d/%Y'
|
fmt = '%m/%d/%Y'
|
||||||
self.page.locator('#CARD_ACCOUNTS').get_by_role(
|
self.page.locator('#CARD_ACCOUNTS').get_by_role(
|
||||||
'button', name='CREDIT CARD (...2467)'
|
'button', name='(...2467)'
|
||||||
).first.click()
|
).first.click()
|
||||||
fl = self.page.locator('#flyout')
|
fl = self.page.locator('#flyout')
|
||||||
fl.wait_for()
|
fl.wait_for()
|
||||||
|
|
Loading…
Reference in New Issue