Hi Torsten, On Thu, May 18, 2017 at 09:20:14PM +0200, Torsten Bergmann wrote:
Hi,
I played around with remote controlling Google Chrome from Pharo using Chrome DevTools Protocol [1] (based on WebSockets).
The video shows an example using latest Pharo 6 on Mac: https://www.youtube.com/watch?v=9F5FrQTEJWY
Initial Code is on GitHub [2] if someone is interested, requires OSOSX and Zinc Websockets to be loaded.
Have fun T.
[1] https://chromedevtools.github.io/devtools-protocol [2] https://github.com/astares/Pharo-Chrome
This looks really interesting, thanks for making it available. I'm on linux, so I guess it will need some porting. Do you know how the DevTools protocol relates to headless chome, which will be available in Chrome 59? See https://developers.google.com/web/updates/2017/04/headless-chrome In particular, is it possible to dump the DOM with your package? Thanks, Alistair