Skip to main content
Version: 16.1.1

JSHandle.toString() method

Returns a string representation of the JSHandle.

Signature:

class JSHandle {
toString(): string;
}

Returns:

string

Remarks

Useful during debugging.