Skip to main content
Version: 15.4.2

JSHandle.toString() method

Returns a string representation of the JSHandle.

Signature:

class JSHandle {
toString(): string;
}

Returns:

string

Remarks

Useful during debugging.