puppeteer/docs/api/puppeteer.tracing.stop.md

22 lines
303 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: Tracing.stop
---
# Tracing.stop() method
Stops a trace started with the `start` method.
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class Tracing {
stop(): Promise<Buffer | undefined>;
}
```
**Returns:**
Promise&lt;Buffer \| undefined&gt;
Promise which resolves to buffer with trace data.