Use this at your own risk.
This python script controls Selenium to navigate through SafeEntry website and allow bulk application of QR codes through automation.
You will only need to login once using CorpPass and all the QR codes will be generated at one go, if nothing goes wrong.
Yes, things do break:
I had to create register 550 sites for SafeEntry QR application and doing this by hand will likely result in human error and, it's super slowwww and repetitive..
This application can create a QR code every 5 to 8 seconds. The time I took to create 12 of them was about 75 seconds.
- Singpass mobile app
- UEN number
- CorpPass ID
- CorpPass Password
- List of locations to create QR codes
$ pip3 install selenium- Download chromedriver and place it in this folder
DOWNLOAD_DIR = "" # Location to store the QR codes
UEN_ID = "" # UEN Number
CORPPASS_ID = "" # CorpPass ID
PASSWORD = "" # CorpPass password
EMAIL_ADDRESSES = "" # List of emails to send QR to, delimited by comma

