Some QA work is done below on Hacker News using JavaScript and Microsoft's Playwright framework.
-
Install node modules by running
npm i
. -
Optionally, manage node version with nvm and switch with
nvm use 20
. -
Run the webpage scrapping script by running
node index.js
. -
Verify and run the QA tests in the
tests/
folder by runningnpx playwright test
.