Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore: fix the first test example
Pavel Feldman3f4a791cb79a
diff --git a/docs/src/intro-js.md b/docs/src/intro-js.mdindex 8913e0fd4f..4c91499da0 100644--- a/docs/src/intro-js.md+++ b/docs/src/intro-js.md@@ -41,7 +41,7 @@ const { test, expect } = require('@playwright/test');test('basic test', async ({ page }) => {await page.goto('https://playwright.dev/');- const title = page.locator('.navbar__title');+ const title = page.locator('.navbar__inner .navbar__title');await expect(title).toHaveText('Playwright');});```@@ -51,7 +51,7 @@ import { test, expect } from '@playwright/test';test('basic test', async ({ page }) => {await page.goto('https://playwright.dev/');- const title = page.locator('.navbar__title');+ const title = page.locator('.navbar__inner .navbar__title');await expect(title).toHaveText('Playwright');});```