Is it possible to use Ruby (not jRuby) frontend of the Selenium 2 (WebDriver) with HtmlUnit backend?
I want to use WebDriver on a server-side, without any browser or gui. It is possible with HtmlUnitDriver in a Java bindigns开发者_如何学Go for WebDriver. But I like ruby more than java. Can I solve my problem with ruby bindings or I must use java bindings?
Since HtmlUnit is a Java library, you need Java at some point in your stack. If you want the tests to run on MRI, this can be done with the the Selenium Remote server (and the selenium-webdriver gem).
Instructions are here on the Selenium wiki.
精彩评论