Back to Puppeteer

Process.getRecentLogs() method

docs/browsers-api/browsers.process.getrecentlogs.md

19.2.2198 B
Original Source

Process.getRecentLogs() method

Get recent logs (stderr + stdout) emitted by the browser.

Signature

typescript
class Process {
  getRecentLogs(): string[];
}

Returns:

string[]