Last active
March 6, 2022 17:24
-
-
Save kjivan/f75968eb8f304146587a17ec93e080a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get credit card bank statements | |
[ | |
...document.querySelectorAll("i[id$='requestThisDocumentLink-download']"), | |
].forEach((v, i) => setTimeout(() => v.click(), 2500 * i)); | |
// Get savings/checking account statements | |
[ | |
...document.querySelectorAll("i[id$='downloadDocumentDropdown-icon']"), | |
].forEach((v, i) => | |
setTimeout(() => { | |
v.click(); | |
document.querySelector("[id$='downloadPDFOption']").click(); | |
setTimeout(() => v.click(), 1000) | |
}, 3500 * i) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment