ElectronContentTracing.startRecording method
ElectronContentTracing › startRecording
Unofficial
Start recording on all processes.Recording begins immediately locally and asynchronously on child processes as soon as they receive the
EnableRecording request. If a recording is already running, the promise will be immediately resolved, as only one trace operation can be in progress at a time. Signature:
startRecording(options: ElectronTraceCategoriesAndOptions | ElectronTraceConfig): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| options | ElectronTraceCategoriesAndOptions | ElectronTraceConfig | The trace configuration. |
Returns: Promise<void> — A promise resolved once all child processes have acknowledged the startRecording request.