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/class-screencast.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ Interface for capturing screencast frames from a page.
6
6
7
7
## async method: Screencast.start
8
8
* since: v1.59
9
+
* langs: js
9
10
- returns: <[Disposable]>
10
11
11
12
Starts capturing screencast frames.
@@ -30,6 +31,7 @@ Callback that receives JPEG-encoded frame data.
30
31
31
32
### option: Screencast.start.preferredSize
32
33
* since: v1.59
34
+
* langs: js
33
35
-`preferredSize` ?<[Object]>
34
36
-`width` <[int]> Max frame width in pixels.
35
37
-`height` <[int]> Max frame height in pixels.
@@ -42,12 +44,14 @@ Defaults to 800×800.
42
44
43
45
### option: Screencast.start.annotate
44
46
* since: v1.59
47
+
* langs: js
45
48
-`annotate` ?<[Object]>
46
49
-`delay` ?<[int]> How long each annotation is displayed in milliseconds. Defaults to `500`.
47
50
48
51
If specified, enables visual annotations on interacted elements during screencast. Interacted elements are highlighted with a semi-transparent blue box and click points are shown as red circles.
49
52
50
53
## async method: Screencast.stop
51
54
* since: v1.59
55
+
* langs: js
52
56
53
57
Stops the screencast started with [`method: Screencast.start`].
0 commit comments