![](https://www.yinfor.com/wp-content/uploads/2019/03/youtube-500x375.jpg)
How to take a webpage screenshot at terminal window
The scenario is to run the program inside of Ubuntu VPS. Input a URL the program will output the jpg file. The solution is to use wkhtmltoimage, which is a part of wkhtmtopdf. I used to use the old version...