You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/src/release-notes-js.md
+13-7
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
8
8
9
9
## Version 1.51
10
10
11
-
### Highlights
11
+
### StorageState for indexedDB
12
12
13
13
* 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.
14
14
@@ -29,11 +29,15 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
29
29
});
30
30
```
31
31
32
-
* 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.
32
+
### Copy as prompt
33
+
34
+
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.
33
35
34
36

35
37
36
-
* New option [`option: Locator.filter.visible`] for [`method: Locator.filter`] allows matching only visible elements.
38
+
### Filter visible elements
39
+
40
+
New option [`option: Locator.filter.visible`] for [`method: Locator.filter`] allows matching only visible elements.
37
41
38
42
```js title="example.spec.ts"
39
43
test('some test', async ({ page }) => {
@@ -44,7 +48,9 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
44
48
});
45
49
```
46
50
47
-
* Set option [`property: TestConfig.captureGitInfo`] to capture git information into [`property: TestConfig.metadata`].
51
+
### Git information in HTML report
52
+
53
+
Set option [`property: TestConfig.captureGitInfo`] to capture git information into [`property: TestConfig.metadata`].
48
54
49
55
```js title="playwright.config.ts"
50
56
import { defineConfig } from'@playwright/test';
@@ -56,11 +62,11 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
56
62
57
63
HTML report will show this information when available:
58
64
59
-

65
+

60
66
61
-
### Test runner
67
+
### Test Step improvements
62
68
63
-
*A new [TestStepInfo] object is now available in test steps. You can add step attachments or skip the step under some conditions.
69
+
A new [TestStepInfo] object is now available in test steps. You can add step attachments or skip the step under some conditions.
0 commit comments