Chrome Headless - screenshot of a section of the page (not top-left) - find parameter
Budget: $10 – $30 USD
I use chrome headless to create a screenshot of a website like this:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --headless --disable-gpu --enable-logging --window-size=120,120 --screenshot="c:\temp\file.png" http://localhost/svg/svg.html
Currently it takes bring me the section from the top left, size 120*120.
I want to able to make a screenshot of the same size, from the middle of the page, in a position of my choosing, via another parameter.
The project goal is to tell me what parameter to add and how to use it.
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --headless --disable-gpu --enable-logging --window-size=120,120 --screenshot="c:\temp\file.png" http://localhost/svg/svg.html
Currently it takes bring me the section from the top left, size 120*120.
I want to able to make a screenshot of the same size, from the middle of the page, in a position of my choosing, via another parameter.
The project goal is to tell me what parameter to add and how to use it.