Back to Puppeteer

JSHandle.toString() method

docs/api/puppeteer.jshandle.tostring.md

19.2.2222 B
Original Source

JSHandle.toString() method

Returns a string representation of the JSHandle.

Signature

typescript
class JSHandle {
  abstract toString(): string;
}

Returns:

string

Remarks

Useful during debugging.