I would like to take the screenshot of the website page using a php script. What I'm expecting is a command where I can provide the URL, and it will create a screenshot in png or jpg format.
f.e php takescreenshot.php <url> <output_file> .
If anyone knows please help me.
Thanks in advance