Starter repo to repeatedly check a website for available goodies, and text you when they appear.
- Get a Twilio account and phone number to send yourself an SMS.
- Code out your Playwright script. Place the code into
index.ts
Try using the codegen feature! - Create a .env file and add your environment variables. See
.env.sample
for required variables. - Run the script with
npm run start
. The script will launch Chromium and keep it open upon success so you can do your thing.
-
Typescript!
-
Eslint & Prettier! Enable Eslint VS Code Extension, and add this to your settings.json:
"editor.codeActionsOnSave": { "source.fixAll": true },