Hi!
I successfully built the headless_shell application, and it works like a charm. I'm brand new to headless browsing in general, but had a few questions based on my experiences w/ PhantomJS and some things I've been trying with headless_shell.
1. Is there a list of headless_shell command line inputs documented somewhere? I looked around at different pieces of documentation and have found some things (for example, --dump-dom and --screenshot), but can't seem to find any information about general headless_shell usage.
2. In using PhantomJS, there is a very easy plug and play Javascript API which utilizes the underlying library
For example (from their homepage):
page = require('webpage').create()
page.open("https://www.google.com", function(status){
//do something
phantom.exit()
})
Is there something similar for headless chrome yet? And if so, is there documentation on how it all works?
Thanks for your time.