- Watching your browser specs locally from CI
Assuming you’re using the headless gem in CI and have browser specs (Jasmine, Selenium) and want to watch them locally, ssh -X is your best friend. It will have Firefox draw its pixels on your Mac screen. Slow, but powerful.
To make that work you need a few steps:
1) Be sure to launch X11, go to Preferences (⌘+,) > Security > Check the “Allow connections from network clients” checkbox
2) Restart X11
3) Be sure that X11Forwarding is set to “yes” in the server (after changing it, restart SSHD, killing sshd works)
To see if it is working, check the $DISPLAY env variable after connected, it should be set.