google-chrome Headless browsing Interacting with documents


Example

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 and use Chrome DevTools interactively.