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
docs: update POM test example (#17524)
depa panjie purnamab5643d0aabdc
diff --git a/docs/src/test-pom-js.md b/docs/src/test-pom-js.mdindex 288ce62f95..6bbfd0f41a 100644--- a/docs/src/test-pom-js.md+++ b/docs/src/test-pom-js.md@@ -20,7 +20,7 @@ exports.PlaywrightDevPage = class PlaywrightDevPage {this.page = page;this.getStartedLink = page.locator('a', { hasText: 'Get started' });this.gettingStartedHeader = page.locator('h1', { hasText: 'Installation' });- this.pomLink = page.locator('li', { hasText: 'Playwright Test' }).locator('a', { hasText: 'Page Object Model' });+ this.pomLink = page.locator('li', { hasText: 'Guides' }).locator('a', { hasText: 'Page Object Model' });this.tocList = page.locator('article div.markdown ul > li > a');}@@ -55,7 +55,7 @@ export class PlaywrightDevPage {this.page = page;this.getStartedLink = page.locator('a', { hasText: 'Get started' });this.gettingStartedHeader = page.locator('h1', { hasText: 'Installation' });- this.pomLink = page.locator('li', { hasText: 'Playwright Test' }).locator('a', { hasText: 'Page Object Model' });+ this.pomLink = page.locator('li', { hasText: 'Guides' }).locator('a', { hasText: 'Page Object Model' });this.tocList = page.locator('article div.markdown ul > li > a');}