问题与无头selenium在CentOS 7最小

要求:我试图在最新的CentOS 7上运行无头selenium(使用PHPUnit)。

问题:似乎我正确安装了一切,但Firefox不启动,我的seleniumweb驱动程序卡在14:45:31.646 INFO - Launching Firefox... 用firefox命令,我得到以下输出

 [admin@EE ~]$ /usr/bin/Xvfb :1 -screen 0 1024x768x24 & [1] 11932 [admin@EE ~]$ export DISPLAY=:1 [admin@EE ~]$ firefox firefox:11936): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Xlib: extension "RANDR" missing on display ":1". Fontconfig warning: ignoring UTF-8: not a valid region tag console.error: [CustomizableUI] Custom widget with id loop-button does not return a valid node console.error: [CustomizableUI] Custom widget with id loop-button does not return a valid node GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. 

seleniumweb驱动程序在04:22:53.835 INFO - Launching Firefox...

有人可以请build议为什么selenium不能识别Firefox?