I played around with remote controlling Google Chrome from
Pharo using Chrome DevTools Protocol  (based on WebSockets).
The video shows an example using latest Pharo 6 on Mac:
Initial Code is on GitHub  if someone is interested,
requires OSOSX and Zinc Websockets to be loaded.