Options
All
  • Public
  • Public/Protected
  • All
Menu

You can use tracing.start and tracing.stop to create a trace file which can be opened in Chrome DevTools or timeline viewer. You can use tracing.start and tracing.stop to create a trace file which can be opened in Chrome DevTools or timeline viewer.

await page.tracing.start({path: 'trace.json'});
await page.goto('https://www.google.com');
await page.tracing.stop();

Hierarchy

  • _PlatformObjBinding
    • Tracing

Index

Methods

Methods

start

stop

  • stop(): Promise<Buffer>
  • Returns Promise<Buffer>