Playing Beethoven's "Ode to Joy" on VirtualPiano.net in TypeScript with Puppeteer
This is just a small demo project. It runs in Puppeteer, which drives Google Chromium in GUI mode. Using Puppeteer, we interact with VirtualPiano.net to play Beethoven's "Ode to Joy."
This project uses a promise-based sleep() function in order to establish note
and rest duration. Please DO NOT use sleep() functions in your own code if you are
automating UI tests. There is always a functional condition to wait on instead.
To install:
- Clone this repository
cdto the new directory and runnpm install- Run
npm startto build and run the application itself