Skip to main content
Version: 15.3.2

JSHandle.toString() method

Returns a string representation of the JSHandle.

Signature:

class JSHandle {
toString(): string;
}

Returns:

string

Remarks

Useful during debugging.