mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-17 16:21:55 +03:00
9 lines
262 B
JavaScript
9 lines
262 B
JavaScript
// @ts-check
|
|
const { test, expect } = require('@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/);
|
|
});
|