puppeteer/docs/api/puppeteer.jshandle.tostring.md

267 B

sidebar_label
JSHandle.toString

JSHandle.toString() method

Returns a string representation of the JSHandle.

Signature:

class JSHandle {
  abstract toString(): string;
}

Returns:

string

Remarks

Useful during debugging.