pentf
    Preparing search index...

    Function forwardBrowserConsole

    • Serialize console arguments and send them to puppeteer. Unfortunately for us the native serialization methods for JSHandle objects from puppeteer are lossy. They turn Error objects into {} and null to undefined. The passed "preview" object is incomplete and truncates all data for nested objects or other complex values.

      The only way to keep the data intact is to use a custom serialization format and pass it around as a string.

      Parameters

      Returns Promise<void>