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 Git information image in release notes (#35050)
Debbie O'Brien4024605c5ac0
diff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.mdindex 9af25452c3..143e6dd701 100644--- a/docs/src/release-notes-js.md+++ b/docs/src/release-notes-js.md@@ -8,7 +8,7 @@ import LiteYouTube from '@site/src/components/LiteYouTube';## Version 1.51-### Highlights+### StorageState for indexedDB* New option [`option: BrowserContext.storageState.indexedDB`] for [`method: BrowserContext.storageState`] allows to save and restore IndexedDB contents. Useful when your application uses [IndexedDB API](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API) to store authentication tokens, like Firebase Authentication.@@ -29,11 +29,15 @@ import LiteYouTube from '@site/src/components/LiteYouTube';});```-* New "Copy as Prompt" button on errors in the HTML report, trace viewer and UI mode. Click to copy a pre-filled LLM prompt that contains the error message and useful context for fixing the error.+### Copy as prompt++New "Copy as Prompt" button on errors in the HTML report, trace viewer and UI mode. Click to copy a pre-filled LLM prompt that contains the error message and useful context for fixing the error.-* New option [`option: Locator.filter.visible`] for [`method: Locator.filter`] allows matching only visible elements.+### Filter visible elements++New option [`option: Locator.filter.visible`] for [`method: Locator.filter`] allows matching only visible elements.```js title="example.spec.ts"test('some test', async ({ page }) => {@@ -44,7 +48,9 @@ import LiteYouTube from '@site/src/components/LiteYouTube';});```-* Set option [`property: TestConfig.captureGitInfo`] to capture git information into [`property: TestConfig.metadata`].+### Git information in HTML report++Set option [`property: TestConfig.captureGitInfo`] to capture git information into [`property: TestConfig.metadata`].```js title="playwright.config.ts"import { defineConfig } from '@playwright/test';@@ -56,11 +62,11 @@ import LiteYouTube from '@site/src/components/LiteYouTube';HTML report will show this information when available:- + -### Test runner+### Test Step improvements-* A new [TestStepInfo] object is now available in test steps. You can add step attachments or skip the step under some conditions.+A new [TestStepInfo] object is now available in test steps. You can add step attachments or skip the step under some conditions.```jstest('some test', async ({ page, isMobile }) => {