Before you begin
Make sure you have:- Node.js 18 or newer
- A web application to test
- A terminal or command prompt open
Step 1: Navigate to your application directory
To get started, we’ll navigate to your application directory.Step 2: Install Playmatic in your directory
Install the Playmatic SDK and the CLI tool.Step 3: Provide your API key
The Playmatic CLI requires a Playmatic account to use. When you start a session withplaymatic
, you will be asked to provide your account’s API key.
Step 4: Run your first test
Let’s execute thesample.test.ts
that was created in your playmatic-tests directory.