A new endpoint was just added to the HeadlessBrowserAPI, it is now able to create full height screenshots of web pages.
Check the documentation page for details.
The output format will be a jpg file (in case of successful API call).
This endpoint will be helpful if you need to generate page previews, archive screenshots, or create thumbnails, this renders the page and sends the full page width result as JPEG, directly in the API response.
In case of failure, the error message will be added in a JSON, showed in the API response.
I hope you will enjoy this new feature of this API.