2020-06-04 14:56:45 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Tracing](./puppeteer.tracing.md) > [start](./puppeteer.tracing.start.md)
|
|
|
|
|
|
|
|
## Tracing.start() method
|
|
|
|
|
2020-06-24 12:57:59 +00:00
|
|
|
Starts a trace for the current page.
|
|
|
|
|
2020-06-04 14:56:45 +00:00
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
start(options?: TracingOptions): Promise<void>;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2020-06-24 12:57:59 +00:00
|
|
|
| options | TracingOptions | Optional <code>TracingOptions</code>. |
|
2020-06-04 14:56:45 +00:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
Promise<void>
|
|
|
|
|
2020-06-24 12:57:59 +00:00
|
|
|
## Remarks
|
|
|
|
|
|
|
|
Only one trace can be active at a time per browser.
|
|
|
|
|