Space shuttle leaving curved trail in the sky

Getting started with playwright

Prerequisities

You need the following software to use Playwright

  • Node (With Node you can run javascript outside a browser)
    Download Node Use the ‘LTS’ / long term supported version.
  • Code editor (VS code or any other HTML editor/IDE you work with)
    Download VScode

Terminology

  • A package manager like NPM, PNPM or Yarn is used to install packages. NPM in bundled within Node.
  • Terminal to run your scripts. On Windows enter ‘CMD’ or ‘command’ in the searchbar to start the terminal. The terminal can also be activated from within VS Code.
$ mkdir myproject && cd myproject
$ npm install ...

Next:

Edit this page on Github