Getting Started
Make sure to check out the requirements before you start.
Suite
Target
Run From
1. Set up your project
Clone our tutorial repository to get started quickly:
git clone git@github.com:endformdev/playwright-tutorial.git && cd playwright-tutorialpnpm install2. Login to Endform
Authenticate with the Endform CLI:
npx endform@latest login3. Configure Playwright
The tutorial repository has webServer configured to start the dev server on port 3000:
// Already configured in the tutorial repositoryexport default defineConfig({ webServer: { command: 'pnpm dev', url: 'http://localhost:3000', reuseExistingServer: !process.env.CI, }, use: { baseURL: 'http://localhost:3000', },});4. Run your tests
Execute your test suite with Endform:
npx endform@latest testView your results
Once your tests complete, results will appear in the Endform dashboard.