Does jruby rspec have to use selenium?

With jruby and rspec requests, do you have to use selenium webdriver?

I’m confused, with ruby and rubyonrails using cucumber with capybara, I
didn’t have to set the default driver, what was it using and can i use
that
with jruby? Things just worked w/o me even having to know about it :slight_smile:

On Jan 16, 2012, at 7:35 PM, S Ahmed wrote:

With jruby and rspec requests, do you have to use selenium webdriver?

I’m confused, with ruby and rubyonrails using cucumber with capybara, I didn’t
have to set the default driver, what was it using and can i use that with jruby?
Things just worked w/o me even having to know about it :slight_smile:


rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

They capybara build is passing with jRuby:
http://travis-ci.org/#!/jnicklas/capybara/jobs/512756

Just check out the README to get it setup with RSpec - it’s all there.

I’m using jruby and with a java app, so after reading it is clear I can
only use selenium since it is not a rack app.

selenium is very very slow, sheesh! I was hoping there was a better
way.

It keeps the firefox browser open also, which is strange (after it
completes running).