Skip to content

fortio/webscreenshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webscreenshot

Go Report Card GitHub Release govulncheck golangci-lint

Take a (headless) screenshot of a Web page after giving it a delay for rendering (so dynamic pages can easily get captured).

Install

using golang 1.21+

go install github.com/fortio/webscreenshot@latest

You can also download one of the many binary releases

We publish a multi architecture docker image (linux/amd64, linux/arm64) docker run fortio/webscreenshot

Or brew custom tap brew install fortio/tap/webscreenshot

Usage

webscreenshot [-delay duration -width w -height h] URL > screenshot.png

(webscreenshot help for all the options)

e.g

webscreenshot -delay 5s \
    "https://demo.fortio.org/browse?url=qps_max-s1_to_s2-0.7.1-2018-04-05-22-04.json" \
    > screenshot.png
open screenshot.png

About

Take a screenshot of a Web page after giving it a delay for rendering

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •