puppeteer/website/versioned_docs/version-17.0.0/api/puppeteer.tracing.stop.md

22 lines
302 B
Markdown
Raw Normal View History

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