开发者

Selenium tests and continuous integration (Running browser in background)

开发者 https://www.devze.com 2022-12-25 12:28 出处:网络
We have Xserver-less CentOS system for continuous integration. So no UI. I want to run selenium test cases on it. I am using new Alpha version of Selenium2 which has WebDriver integration. It starts

We have Xserver-less CentOS system for continuous integration. So no UI.

I want to run selenium test cases on it. I am using new Alpha version of Selenium2 which has WebDriver integration. It starts and ends browser by its own. Now, How do I start th开发者_Go百科at in background? Something similar is possible with Internet Explorer?

I am able to run correctly on local machine. But it opens Firefox UI.


Are you able to run a virtual frame buffer? That way, all the GUI programs can believe there's graphics happening, even if there's no actual screen. You may wish to search for the term "headless". One example.

Another possibility may be to use Celerity - a ruby-based "headless browser". It uses the Watir interface (originally a competitor to selenium), which I understand to be merging with webdriver.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号