More automated browser logins with Puppeteer
2022-10-09に共有
This is for batch logins
I use a chrome extension to create an interaction script that is then re-ran in the future along with other interaction scripts (JSON).
This is not fool proof though as you still run into 2FA/captcha issues. Which my current solution for 2FA is to type the code into a website.
You could try different solutions like having a trusted Twilio number or forwarding into Twilio somehow, maybe an App on your phone catches the SMS message like some apps do (says copy to clipboard or pops up at pin prompt).
The captcha thing is interesting, supposedly there are services to get around that though I have not tried it. If you use non-headless it can help with any captcha problems but goes against the automated idea.
I will see if this was worth it overtime, it's just code gluing.