sidebar_label |
---|
JSHandle.jsonValue |
A vanilla object representing the serializable portions of the referenced object.
class JSHandle {
jsonValue(): Promise<T>;
}
Returns:
Promise<T>
Throws if the object cannot be serialized due to circularity.
If the object has a toJSON
function, it will not be called.