mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
8 lines
244 B
TypeScript
8 lines
244 B
TypeScript
import { test, expect } from '@playwright/test';
|
|
|
|
test('basic test', async ({ page }) => {
|
|
await page.goto('https://playwright.dev/');
|
|
await page.locator('text=Get started').click();
|
|
await expect(page).toHaveTitle(/Getting started/);
|
|
});
|