Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: add copy-prompt to release notes (#35047)

Simon Knottf3a75e2cfebd
diff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.md
index 2f3316c730..9af25452c3 100644
--- a/docs/src/release-notes-js.md
+++ b/docs/src/release-notes-js.md
@@ -29,6 +29,10 @@ 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](https://github.com/user-attachments/assets/f3654407-dd6d-4240-9845-0d96df2bf30a)
+
* New option [`option: Locator.filter.visible`] for [`method: Locator.filter`] allows matching only visible elements.
```js title="example.spec.ts"