Skip to main content
Version: 15.5.0

JSHandle.toString() method

Returns a string representation of the JSHandle.

Signature:

class JSHandle {
toString(): string;
}

Returns:

string

Remarks

Useful during debugging.