Automation IDE
Playwright
TypeScript
Cloud browser · recorded
Sign in to run
Run
Ctrl
↵
Explorer
Code
Console
example.spec.ts
13
Reset
1
2
3
4
5
6
7
8
9
10
11
12
13
import { test, expect } from '@playwright/test'; test('has title', async ({ page }) => { await page.goto('https://playwright.dev/'); await expect(page).toHaveTitle(/Playwright/); }); test('get started link', async ({ page }) => { await page.goto('https://playwright.dev/'); await page.getByRole('link', { name: 'Get started' }).click(); await expect(page).toHaveURL(/\/docs\/intro/); });
Test result
Console
Network
Console is empty
Logs, navigations and assertion output stream here while your code runs.