Alistair Grant wrote
> https://github.com/akgrant43/Pharo-Chrome

Wow, that was a wild ride! Lessons learned along the way:
1. On a Mac, to use the snazzy `chrome` terminal command referenced all over
the place in the docs, you must first `alias chrome="/Applications/Google\
Chrome.app/Contents/MacOS/Google\ Chrome"`
2. Chrome must be started with certain flags: `chrome 
--remote-debugging-port=9222 --disable-gpu` (not sure if the last flag is
needed, but `#get:` seemed to hang before using; reference
https://developers.google.com/web/updates/2017/04/headless-chrome)
3. Beacon has renamed InMemoryLogger to MemoryLogger
4. I guess Beacon has renamed `#log` to `#emit`
5. I had to comment out `chromeProcess sigterm.` because `chromeProcess` was
nil and also #sigterm seemed not to be defined anywhere in the image. I'm
not sure what the issue is there.

Pull request issued for #3 & #4. Also, I'm not sure what platforms you
support, but you may want to tag the example methods with <gtExample> or
similar so that they are runnable from the browser and open an inspector if
there is an interesting return value.




-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply via email to