Top "Capybara" questions

Capybara is a web application testing framework for Rack applications, such as Rails, Sinatra and Merb.

Cucumber Capybara scroll to bottom of page

I'd like to use my Cucumber/Capybara setup to test endless scroll by driving a browser and scrolling to the …

cucumber capybara
Capybara with subdomains - default_host

I have an app that uses subdomains to switch databases (multi-tenancy). I'm trying to use Capybara for integration testing, and …

ruby-on-rails integration-testing capybara
Capybara - Click element by class name

For what seems to be a simple question I've been on this for a stupidly long time and can't seem …

ruby automation capybara
Trying to get selenium working in rails 3 - "WebMock::NetConnectNotAllowedError"

I'm trying to use selenium for the first time in a rails 3 app. (I've used it before with rails 2). I'm …

ruby-on-rails-3 selenium capybara
How to assert on number of html table rows in ruby using capybara + cucumber

I am trying to get to grips with BDD web development in Ruby using cucumber + capybara and I am stuck …

ruby cucumber capybara
Find elements by data attributes

I'm improving my tests with RSpec and capybara-webkit, trying to delete all the css and xpath selectors like find('#…

ruby-on-rails testing rspec capybara capybara-webkit
How to test the response code with Capybara + Selenium

I have the following spec: it "deletes post", :js => true do ... ... page.status_code.should = '404' end The …

ruby-on-rails selenium rspec capybara
Popup blocking in Google Chrome causing issues with Capybara/Rspec tests

I'm writing some automated tests using Capybara/RSpec, I choose/configure the driver by using this little bit of ruby: …

google-chrome webdriver capybara popup-blocker
Is there a way to send key presses to Webkit using Capybara?

I need to send some key-presses to a web app in an integration test that uses Capybara and WebKit. Using …

ruby-on-rails webkit capybara keypress
Capybara: is it possible to get an attribute value from a css string?

If I've got some HTML like: <div id='drawer'><ul><li><a href=…

capybara