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(readme): swap locator for getByText (#22059)
Sander81f3f987be94
diff --git a/README.md b/README.mdindex 293b3ee42f..1204869ba4 100644--- a/README.md+++ b/README.md@@ -118,7 +118,7 @@ test.use({test('Mobile and geolocation', async ({ page }) => {await page.goto('https://maps.google.com');- await page.locator('text="Your location"').click();+ await page.getByText('Your location').click();await page.waitForRequest(/.*preview\/pwa/);await page.screenshot({ path: 'colosseum-iphone.png' });});