web自动化测试使用Selenium2使用vncserver启动firefox
1st startup vncserver(e.g. vncserver :1
).
2nd set DISPLAY
(e.g. DISPLAY=:1
).
3rd change directory to my project(e.g. cd /path/to/my/project
).
4th execute my project(e.g. pybot ··· ··· ···
).
5th kill vncserver(e.g. vncserver -kill :1
).