Launching Safari without using xvfb on Mac

How can I run jstestdriver test files in Safari on OSX without any problems? I can achieve the same on Linux using the xvfb-run command. However, in OSX there is no such shell command. I tried to execute the following 2 commands and then execute my test files in safari.

Xvfb :99 -ac &
export DISPLAY=:99

However, the Safari browser appears instead of working in the xvfb environment. Safari seems to completely ignore the DISPLAY command. Is there a way to run Safari without OSD on OSX?

+4
source share
1 answer

Mac OS X X11 . , Xvfb , DISPLAY .

Mac OS "" , . , Vine Server, , , , Mac OS 10.8 .

+5

Source: https://habr.com/ru/post/1547479/


All Articles