In this assignment, you will create a script on Hacker News using JavaScript and Microsoft's Playwright framework.
-
Install node modules by running
npm install. -
Edit the
example.spec.jsfile in this project to go to Hacker News/newest and validate that EXACTLY the first 100 articles are sorted from newest to oldest. You can run your script with thenode index.jscommand.