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/api/params.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -810,7 +810,7 @@ When set to `minimal`, only record information necessary for routing from HAR. T
810
810
Actual picture of each page will be scaled down if necessary to fit the specified size.
811
811
-`width` <[int]> Video frame width.
812
812
-`height` <[int]> Video frame height.
813
-
-`annotate` ?<[Object=VideoAnnotation]> If specified, enables visual annotations on interacted elements during video recording.
813
+
-`showActions` ?<[Object=ShowActionsOptions]> If specified, enables visual annotations on interacted elements during video recording.
814
814
-`duration` ?<[float]> How long each annotation is displayed in milliseconds. Defaults to `500`.
815
815
-`position` ?<[AnnotatePosition]<"top-left"|"top"|"top-right"|"bottom-left"|"bottom"|"bottom-right">> Position of the action title overlay. Defaults to `"top-right"`.
816
816
-`fontSize` ?<[int]> Font size of the action title in pixels. Defaults to `24`.
**Agentic video receipts** — coding agents can produce video evidence of their work. After completing a task, an agent can record a walkthrough video with rich annotations for human review:
**Agentic video receipts** — coding agents can produce video evidence of their work. After completing a task, an agent can record a walkthrough video with rich annotations for human review:
**Agentic video receipts** — coding agents can produce video evidence of their work. After completing a task, an agent can record a walkthrough video with rich annotations for human review:
Copy file name to clipboardExpand all lines: docs/src/test-api/class-testoptions.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -625,8 +625,8 @@ export default defineConfig({
625
625
-`size` ?<[Object]> Size of the recorded video. Optional.
626
626
-`width` <[int]>
627
627
-`height` <[int]>
628
-
-`annotate` ?<[Object]> If specified, visually annotates the video with test information and action highlights.
629
-
-`action` ?<[Object]> Controls visual annotations on interacted elements.
628
+
-`show` ?<[Object]> If specified, visually annotates the video with test information and action highlights.
629
+
-`actions` ?<[Object]> Controls visual annotations on interacted elements.
630
630
-`duration` ?<[float]> How long each annotation is displayed in milliseconds. Defaults to `500`.
631
631
-`position` ?<[AnnotatePosition]<"top-left"|"top"|"top-right"|"bottom-left"|"bottom"|"bottom-right">> Position of the action title overlay. Defaults to `"top-right"`.
632
632
-`fontSize` ?<[int]> Font size of the action title in pixels. Defaults to `24`.
@@ -643,7 +643,7 @@ Whether to record video for each test. Defaults to `'off'`.
643
643
644
644
To control video size, pass an object with `mode` and `size` properties. If video size is not specified, it will be equal to [`property: TestOptions.viewport`] scaled down to fit into 800x800. If `viewport` is not configured explicitly the video size defaults to 800x450. Actual picture of each page will be scaled down if necessary to fit the specified size.
645
645
646
-
To annotate actions in the video, pass `annotate` with `action` and/or `test` sub-options. The `action` option controls visual highlights on interacted elements with an optional `delay` in milliseconds (defaults to `500`). The `test` option controls which test information is displayed as a status overlay.
646
+
To annotate actions in the video, pass `show` with `action` and/or `test` sub-options. The `action` option controls visual highlights on interacted elements with an optional `delay` in milliseconds (defaults to `500`). The `test` option controls which test information is displayed as a status overlay.
Copy file name to clipboardExpand all lines: docs/src/videos.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,9 @@ await context.close();
38
38
39
39
You can also specify video size and annotation. The video size defaults to the viewport size scaled down to fit 800x800. The video of the viewport is placed in the top-left corner of the output video, scaled down to fit if necessary. You may need to set the viewport size to match your desired video size.
40
40
41
-
When `annotate` is specified, each action will be visually highlighted in the video with the element outline and action title subtitle. The optional `duration` property controls how long each annotation is displayed (defaults to `500`ms).
41
+
When `show: { actions }` is specified, each action will be visually highlighted in the video with the element outline and action title subtitle. The optional `duration` property controls how long each annotation is displayed (defaults to `500`ms).
42
+
43
+
When `show: { test }` is specified, video will be annotated with the current test information with configurable `level`.
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
0 commit comments