Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(api): correct
createPDFStream
example (#7538)
Prior to this patch, the example results in `browser.close()` being executed before the file is generated/written to disk. One needs to listen for the `end` event on the `ReadableStream` before closing the browser, otherwise an exception is raised: UnhandledPromiseRejectionWarning: Error: Protocol error (IO.read): Target closed
- Loading branch information