Playwright Day 1 - Hello World

Here we go.

Installation & Test 1 - the built-in test

install it with npm install playwright,

Initialize projects with npm init playwright@latest

update

npm install -D @playwright/test@latest
            npx playwright install --with-deps
            

They provide an example test you can run

npx playwright test
            

and after doing so you can look at a nice html report

npx playwright show-report
            

Clean looking test, the syntax is practically human readable with the exception of the GetByRole function, which is clear enough.

counting this as 1/100 tests in the bag lol