Take a full page screenshot with Firefox on the command-line

后端 未结 6 1545
梦如初夏
梦如初夏 2020-12-04 04:34

I\'m running Firefox on a Xvfb in a VPS. What I want to do is to take a full page screenshot of the page.

I can redirect Firefox to particular page using

<         


        
6条回答
  •  误落风尘
    2020-12-04 05:06

    I ended up coding a custom solution (Firefox extension) that does this. I think by the time I developed it, the commandline mentioned in enreas wasn't there.

    The Firefox extension is CmdShots. It's a good option if you need finer degree of control over the process of taking the screenshot (or you want to do some HTML/JS modifications and image processing).

    You can use it and abuse it. I decided to keep it unlicensed, so you are free to play with it as you want.

提交回复
热议问题