This is just a script I put together to check and notify me via email (MailGun) when there's an earlier date before my initial appointment date. It doesn't handle rescheduling.
=====>>> Step: starting process with 250 tries left
=====>>> Step: logging in
TypeError: text is not iterable
at Keyboard.type (D:\Idea Projects\github\US-visa-appointment-notifier\node_modules\puppeteer\lib\cjs\puppeteer\common\Input.js:199:28)
at ElementHandle.type (D:\Idea Projects\github\US-visa-appointment-notifier\node_modules\puppeteer\lib\cjs\puppeteer\common\ElementHandle.js:629:79)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async login (D:\Idea Projects\github\US-visa-appointment-notifier\index.js:22:3)
at async process (D:\Idea Projects\github\US-visa-appointment-notifier\index.js:81:19)
at async D:\Idea Projects\github\US-visa-appointment-notifier\index.js:99:5
PS D:\Idea Projects\github\US-visa-appointment-notifier>
PS D:\Idea Projects\github\US-visa-appointment-notifier> npm start npm WARN config global
--global
,--local
are deprecated. Use--location=global
instead.=====>>> Step: starting process with 250 tries left =====>>> Step: logging in TypeError: text is not iterable
at Keyboard.type (D:\Idea Projects\github\US-visa-appointment-notifier\node_modules\puppeteer\lib\cjs\puppeteer\common\Input.js:199:28)
at ElementHandle.type (D:\Idea Projects\github\US-visa-appointment-notifier\node_modules\puppeteer\lib\cjs\puppeteer\common\ElementHandle.js:629:79) at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async login (D:\Idea Projects\github\US-visa-appointment-notifier\index.js:22:3)
at async process (D:\Idea Projects\github\US-visa-appointment-notifier\index.js:81:19) at async D:\Idea Projects\github\US-visa-appointment-notifier\index.js:99:5 PS D:\Idea Projects\github\US-visa-appointment-notifier>