webshot
webshot copied to clipboard
Screenshot local HTML content
Attempting to take a screenshot of a local HTML file results in an error:
Webshot::WebshotError: Could not fetch page: "/var/folders/[REDACTED]/index.html", error code:
Using file:///var/folders/...
does not change anything.
Is there a way to take screenshots of local content without having to run a HTTP server?