I follow this guide - https://developers.google.com/web/updates/2017/04/headless-chrome
But for some reason, my command in the CLI does not create any image:
C:\temp2>"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --headless --disable-gpu --screenshot http://www.google.com
- I have Chrome 62 (59+ required).
- I have full rights to C: \ temp2
- When I run only C: \ temp2> "C: \ Program Files (x86) \ Google \ Chrome \ Application \ chrome.exe" , Google Chrome launches this means that the path is correct.
I have a 64-bit version of Windows 7 Pro SP1.
What could be wrong?
source
share