So I kind of neglected this project for around three weeks since I had a exam week and because of some procrastination. But anyway, I added some features before my exam week.
I had a problem with one of my login credentials, but apparently it was just an incorrect password. So what I did was I added verification to the login process. I checked for the password-incorrect-message and for the keep-me-logged-in-message and which ever one showed up decided if the password is correct.
Also I need to talk about a certain bug, a bug that has been occuring every since I added playwright: net::ERR_NETWORK_CHANGED. I have no idea what is causing this, other than that it is caused by some Docker quirk. So I thought I could just fix this with a retry decorator library I found. But still the error crashed my program. When I looked into this I found out that the retry decorator isn’t meant for async functions, so it didn’t work. And to be honest I am a bit tired and just want to finish this project, so what I did was I asked AI to make an async-safe retry decorator. And then I also used AI to make it so that the function does return ValueErrors.
So that is basically it, I have implemented everything I wanted and the code works as expected. There might be some more bugs that I just haven’t noticed, but for now I am done
Log in to leave a comment