Compare commits
No commits in common. "4120804dc4b8dc8c02eefec0a10eff3af76ad753" and "31dcec331e6184ab8b7f2e81273e542ea693dab1" have entirely different histories.
4120804dc4
...
31dcec331e
17
xactfetch.py
17
xactfetch.py
|
@ -580,12 +580,12 @@ class Chase:
|
|||
self.page.wait_for_timeout(random.randint(2000, 4000))
|
||||
password = rbw_get(self.vault_item, self.vault_folder, self.username)
|
||||
log.debug('Filling username/password login form')
|
||||
self.page.frame_locator('#logonbox').get_by_label('Username').fill(
|
||||
self.username
|
||||
)
|
||||
self.page.frame_locator('#logonbox').get_by_label('Password').fill(
|
||||
password
|
||||
)
|
||||
self.page.frame_locator('#logonbox').locator(
|
||||
'input[name=userId]'
|
||||
).fill(self.username)
|
||||
self.page.frame_locator('#logonbox').locator(
|
||||
'input[name=password]'
|
||||
).fill(password)
|
||||
self.page.wait_for_timeout(random.randint(500, 750))
|
||||
self.page.frame_locator('#logonbox').get_by_role(
|
||||
'button', name='Sign in'
|
||||
|
@ -604,7 +604,7 @@ class Chase:
|
|||
log.info('Downloading transactions from %s to %s', from_date, to_date)
|
||||
fmt = '%m/%d/%Y'
|
||||
self.page.locator('#CARD_ACCOUNTS').get_by_role(
|
||||
'button', name='(...2467)'
|
||||
'button', name='CREDIT CARD (...2467)'
|
||||
).first.click()
|
||||
fl = self.page.locator('#flyout')
|
||||
fl.wait_for()
|
||||
|
@ -613,9 +613,6 @@ class Chase:
|
|||
'button', name='Account activity', exact=True
|
||||
).wait_for()
|
||||
fl.get_by_role('link', name='Show details').wait_for()
|
||||
fl.get_by_role('link', name='Activity since last statement').click()
|
||||
fl.get_by_role('link', name='All transactions').click()
|
||||
fl.get_by_text('See more activity').wait_for()
|
||||
fl.get_by_role('button', name='Download Account Activity').click()
|
||||
log.debug('Filling account activity download form')
|
||||
self.page.locator('#select-downloadActivityOptionId-label').click()
|
||||
|
|
Loading…
Reference in New Issue