Skip to content

Starter repo to scrape a website for goodies with playwright, and text you when they appear with twilio.

Notifications You must be signed in to change notification settings

josh-stillman/playwright-twilio-starter

Repository files navigation

Playwright & Twilio Starter

Starter repo to repeatedly check a website for available goodies, and text you when they appear.

Getting started

  1. Get a Twilio account and phone number to send yourself an SMS.
  2. Code out your Playwright script. Place the code into index.ts Try using the codegen feature!
  3. Create a .env file and add your environment variables. See .env.sample for required variables.
  4. Run the script with npm run start. The script will launch Chromium and keep it open upon success so you can do your thing.

Features

  • Typescript!

  • Eslint & Prettier! Enable Eslint VS Code Extension, and add this to your settings.json:

    "editor.codeActionsOnSave": {
      "source.fixAll": true
    },
    

About

Starter repo to scrape a website for goodies with playwright, and text you when they appear with twilio.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published