Automation IDE
Playwright
JavaScript
Cloud browser · recorded
Sign in to run
Run
Ctrl
↵
Explorer
Code
Console
example.spec.js
13
Reset
1
2
3
4
5
6
7
8
9
10
11
12
13
const { test, expect } = require('@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.