Hi,
I see for '--headless' Chrom(e|ium) usage what is presented in
https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md or
https://developers.google.com/web/updates/2017/04/headless-chrome
that there is only little support for shell access to the browser's features :
--dump-dom
--print-to-pdf
--screenshot
--repl
I suspect the last one could provide the same possibilities as the console available
via the 'devtools' of the whole browser. Am I right?
If so, any way to load a script from the command line to make the browser load a page,
mangle its content, click here and there, extract partial content to the console?
(so one could use it as integrated tool to the shell : using pipes/redirections to/from other tools)
the above might not make it clear : without relying on additinal layers (nodejs+puppeteer+blabla+xyz...).
since Chrom(e|ium) already comes with its (and "Nx10MB" in size) JS & renderer engines+tools
so adding redundant resource hungry apps is uncalled, eg. in the context of light embedded apps.
Maybe this is already describe somewhere (which i could not find), in that case i'd be
glad to read about.
Thank you all for your kind attention and any help you could provide
JClu
202012115