Tutorial by Examples

The following will produce a PNG image in the current directory of the loaded page. chrome --headless --screenshot https://stackoverflow.com
Using the --remote-debugging-port to expose a debugger accessible over HTTP is one way appliances can connect and interact with the document using the Chrome Debugging Protocol. chrome --headless --remote-debugging-port=9222 https://stackoverflow.com You can then navigate to http://localhost:9222 ...

Page 1 of 1