Skip to content

Getting Started

Make sure to check out the requirements before you start.

1. Set up your project

Navigate to your Playwright project root:

Terminal window
cd your-project

2. Login to Endform

Authenticate with the Endform CLI:

Terminal window
npx endform@latest login

3. Configure Playwright

Configure your playwright.config.ts to point to your remote server:

playwright.config.ts
import { defineConfig } from '@playwright/test';
export default defineConfig({
use: {
baseURL: process.env.BASE_URL || 'https://staging.yourapp.com',
},
});

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.