screenshot

Renders url and decodes the screenshot into an in-memory image.

Return

the screenshot image, or Result.failure if the render or the PNG decode failed

Parameters

url

the page to render; must not be blank