How do I run my jstestdriver test cases headlessly on Safari browser on OSX platform? I am able to achieve the same on Linux by using xvfb-run command. However, there is no such wrapper command available in OSX. I tried executing the following 2 commands and then executing my testcases in safari.
Xvfb :99 -ac &
export DISPLAY=:99
However, by Safari browser shows up instead of running in xvfb environment. It seems like Safari ignores the DISPLAY command completely. Is there a way I can run Safari headlessly on OSX?