PastaSource / Slowly_Letter_Downloader

Automates the process of downloading letters from slowly in PDF form.
GNU General Public License v3.0
2 stars 0 forks source link

Delete cache folders and force close chrome driver on 10 load attempt failures #25

Open PastaSource opened 2 years ago

PastaSource commented 2 years ago

I'm wondering if it might be beneficial to have the browser cache folders completely wiped if a login attempt is unsuccessful. This would allow for a clean slate on the next boot. Most of the time when I have cache issues it's caused by chromedriver persisting in the background. This is usually when I'm testing stuff and close the app prematurely. Perhaps what we really need is to ensure that the shutdown sequence is properly initiated after 10 login attempts have failed.