开发者

Is it possible to use Ruby (not jRuby) frontend of the Selenium 2 (WebDriver) with HtmlUnit backend?

开发者 https://www.devze.com 2023-02-21 12:30 出处:网络
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

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.

0

精彩评论

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