Playwright
A tool for automated end-to-end browser tests.
What is Playwright?
Simulates user actions in real browsers for end-to-end tests. It includes auto-waiting and great debugging tools.
test('user can search the glossary', async ({ page }) => {
await page.goto('/glossary');
await page.getByPlaceholder('Search').fill('closure');
await expect(page.getByText('Closure')).toBeVisible();
});
Level: Freelancer · More Unit Testing terms at this level
Updated