Skip to content

Getting Started

Make sure to check out the requirements before you start.

1. Set up your project

Clone our tutorial repository to get started quickly:

Terminal window
git clone git@github.com:endformdev/playwright-tutorial.git && cd playwright-tutorial
pnpm install

2. Login to Endform

Authenticate with the Endform CLI:

Terminal window
npx endform@latest login

3. Configure Playwright

You can test against our deployed demo app. Set the baseURL in your config:

playwright.config.ts
import { defineConfig } from '@playwright/test';
export default defineConfig({
use: {
baseURL: 'https://endform-playwright-tutorial.vercel.app',
},
});

4. Run your tests

Execute your test suite with Endform:

Terminal window
npx endform@latest test

View your results

Once your tests complete, results will appear in the Endform dashboard.