The Object.assign() static method copies all enumerable own properties from one or more source objects to a target object. It returns the modified target object.| developer.mozilla.org
The JSON.stringify() static method converts a JavaScript value to a JSON string, optionally replacing values if a replacer function is specified or optionally including only the specified properties if a replacer array is specified.| MDN Web Docs
Whenever a network route is set up with page.route() or browserContext.route(), the Route object allows to handle the route.| playwright.dev