Skip to content

Commit

Permalink
cherry-pick(#35047): docs: add copy-prompt to release notes (#35047)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skn0tt committed Mar 5, 2025
1 parent 3ce7933 commit d3d8d39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/src/release-notes-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d3d8d39

Please sign in to comment.