Is it possible to run Selenium scripts without having an X server running, too?
问题 I have a python script that uses selenium RC; specifically webdriver. I would love to have the script run as a post-commit hook, ideally through IE, Safari (if possible), Chrome & Firefox. But I'm not sure what I'd need to do, since every time I run it on my local machine, a browser pops up. I've heard of "saucelabs". Is it the best solution? 回答1: Yes, you need to have X server running because Selenium requires a running browser and browsers need some kind of X server in order to run.