Enable tracing (#274203)

* Enable tracing

So that we can upload traces instead of just videos.

* feedback
This commit is contained in:
Tyler James Leonhardt
2025-10-30 16:19:54 -07:00
committed by GitHub
parent 144fdf16ca
commit bc5f6481a5
7 changed files with 16 additions and 14 deletions

View File

@@ -143,11 +143,11 @@ export class Code {
return !(this.quality === Quality.Stable && this.version.major === 1 && this.version.minor < 101);
}
async startTracing(name: string): Promise<void> {
async startTracing(name?: string): Promise<void> {
return await this.driver.startTracing(name);
}
async stopTracing(name: string, persist: boolean): Promise<void> {
async stopTracing(name?: string, persist: boolean = false): Promise<void> {
return await this.driver.stopTracing(name, persist);
}