12 ms·
For those who prefer using Ruby, try the ruby bindings: http://rubygems.org/gems/selenium-webdriver http://rubygems.org/gems/selenium-webdriver Now wrap your
by chsonnu 15y ago
For those who prefer using Ruby, try the ruby bindings:
http://rubygems.org/gems/selenium-webdriver http://rubygems.org/gems/selenium-webdriver
Now wrap your tests in RSpec and you're good to go.
- ericb 15y agoI would look at Capybara before using webdriver directly in Ruby. With Capybara, with one line of code, you can change from using webdriver, to using the native rack driver, or a full headless browser setup like capybara-webkit, or akephalos for headless httpunit (which runs javascript). https://github.com/jnicklas/capybara https://github.com/jnicklas/capybara drivers: https://github.com/thoughtbot/capybara-webkit https://github.com/thoughtbot/capybara-webkit https://github.com/bernerdschaefer/akephalos https://github.com/bernerdschaefer/akephalos