Starts recording for the specified target.
public RecordingSession StartRecording(TopLevel target, RecordingOptions? options = null, string? outputPath = null)
The top-level control to record.
Recording options.
Output path for the recording.