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: fix example for accessible description (#30672)
Debbie O'Brien5d21e3729cdc
diff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.mdindex 4d2abbde7c..90c0c395f7 100644--- a/docs/src/release-notes-js.md+++ b/docs/src/release-notes-js.md@@ -21,7 +21,7 @@ import LiteYouTube from '@site/src/components/LiteYouTube';- [`method: LocatorAssertions.toHaveAccessibleDescription`] checks if the element has the specified accessible description:```jsconst locator = page.getByRole('button');- await expect(locator).toHaveAccessibleName('Upload the photo');+ await expect(locator).toHaveAccessibleDescription('Upload a photo');```- [`method: LocatorAssertions.toHaveRole`] checks if the element has the specified ARIA role: