getPage

infix fun getPage(url: String): Result<File>(source)

Renders url and writes the screenshot to a PNG file in the system temp directory.

Return

the screenshot file, or Result.failure holding the cause if the render failed

Parameters

url

the page to render; must not be blank