Skip to content

Commit f927495

Browse files
authored
docs: release video and trace viewer video (#32164)
1 parent 60900f8 commit f927495

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

docs/src/release-notes-js.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
88

99
## Version 1.46
1010

11+
<LiteYouTube
12+
id="tQo7w-QQBsI"
13+
title="Playwright 1.46"
14+
/>
15+
16+
1117
### TLS Client Certificates
1218

13-
Playwright now allows to supply client-side certificates, so that server can verify them, as specified by TLS Client Authentication.
19+
Playwright now allows you to supply client-side certificates, so that server can verify them, as specified by TLS Client Authentication.
1420

1521
The following snippet sets up a client certificate for `https://example.com`:
1622

docs/src/trace-viewer-intro-js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Playwright Trace Viewer is a GUI tool that lets you explore recorded Playwright
1616
- [How to open and view the trace](/trace-viewer-intro.md#opening-the-trace)
1717

1818
<LiteYouTube
19-
id="lfxjs--9ZQs"
19+
id="yP6AnTxC34s"
2020
title="Viewing Playwright Traces"
2121
/>
2222

docs/src/trace-viewer.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ Playwright Trace Viewer is a GUI tool that helps you explore recorded Playwright
1313
* langs: js
1414

1515
<LiteYouTube
16-
id="lfxjs--9ZQs"
16+
id="yP6AnTxC34s"
1717
title="Viewing Playwright Traces"
1818
/>
1919

2020
## Trace Viewer features
2121
### Actions
2222

23-
In the Actions tab you can see what locator was used for every action and how long each one took to run. Hover over each action of your test and visually see the change in the DOM snapshot. Go back and forward in time and click an action to inspect and debug. Use the Before and After tabs to visually see what happened before and after the action.
23+
In the Actions tab you can see what locator was used for every action and how long each one took to run. Hover over each action of your test and visually see the change in the DOM snapshot. Go back and forward in time and click an action to inspect and debug. Use the Before and After tabs to visually see what happened before and after the action.
2424

2525
![actions tab in trace viewer](https://github.com/microsoft/playwright/assets/13063165/948b65cd-f0fd-4c7f-8e53-2c632b5a07f1)
2626

@@ -31,7 +31,7 @@ In the Actions tab you can see what locator was used for every action and how lo
3131

3232
### Screenshots
3333

34-
When tracing with the [`option: screenshots`] option turned on (default), each trace records a screencast and renders it as a film strip. You can hover over the film strip to see a magnified image of for each action and state which helps you easily find the action you want to inspect.
34+
When tracing with the [`option: screenshots`] option turned on (default), each trace records a screencast and renders it as a film strip. You can hover over the film strip to see a magnified image of for each action and state which helps you easily find the action you want to inspect.
3535

3636
Double click on an action to see the time range for that action. You can use the slider in the timeline to increase the actions selected and these will be shown in the Actions tab and all console logs and network logs will be filtered to only show the logs for the actions selected.
3737

@@ -393,7 +393,7 @@ public class ExampleTest : PageTest
393393
[TearDown]
394394
public async Task TearDown()
395395
{
396-
var failed = TestContext.CurrentContext.Result.Outcome == NUnit.Framework.Interfaces.ResultState.Error
396+
var failed = TestContext.CurrentContext.Result.Outcome == NUnit.Framework.Interfaces.ResultState.Error
397397
|| TestContext.CurrentContext.Result.Outcome == NUnit.Framework.Interfaces.ResultState.Failure;
398398

399399
await Context.Tracing.StopAsync(new()
@@ -402,7 +402,7 @@ public class ExampleTest : PageTest
402402
TestContext.CurrentContext.WorkDirectory,
403403
"playwright-traces",
404404
$"{TestContext.CurrentContext.Test.ClassName}.{TestContext.CurrentContext.Test.Name}.zip"
405-
) : null,
405+
) : null,
406406
});
407407
}
408408

0 commit comments

Comments
 (0)