feat(client): Allow tracing without FS
This commit is contained in:
parent
c49ddaa6ff
commit
52f161fd6a
|
|
@ -89,11 +89,13 @@ export class Tracing
|
|||
|
||||
async stopChunk() {
|
||||
this._traceBuffer = await this._collectTraceAsBuffer();
|
||||
return this._traceBuffer;
|
||||
}
|
||||
|
||||
async stop() {
|
||||
this._traceBuffer = await this._collectTraceAsBuffer();
|
||||
await this._channel.tracingStop();
|
||||
return this._traceBuffer;
|
||||
}
|
||||
|
||||
private async _collectTraceAsBuffer(): Promise<Buffer> {
|
||||
|
|
|
|||
4230
packages/playwright-core/types/types.d.ts
vendored
4230
packages/playwright-core/types/types.d.ts
vendored
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue