chase: Fix login form fill
Chase loves to make subtle, invisible changes to their website, presumably to break screen scrapers like this.master
parent
2890597673
commit
4120804dc4
12
xactfetch.py
12
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').locator(
|
||||
'input[name=userId]'
|
||||
).fill(self.username)
|
||||
self.page.frame_locator('#logonbox').locator(
|
||||
'input[name=password]'
|
||||
).fill(password)
|
||||
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.wait_for_timeout(random.randint(500, 750))
|
||||
self.page.frame_locator('#logonbox').get_by_role(
|
||||
'button', name='Sign in'
|
||||
|
|
Loading…
Reference in New Issue