Top "Capybara" questions

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

Capybara with :js => true causes test to fail

I'm new to Capybara and testing on Rails in general, so please forgive me if this is a simple answer. …

javascript ruby-on-rails-3 capybara
Rails + Cucumber/Capybara: How to set/retrieve cookies in tests?

I'm implementing a lazy login feature. My cucumber feature should describe it: Feature: User log in Scenario: Lazy login Given …

ruby-on-rails cookies capybara
How do I set up a session value in Capybara?

I am developing an app for Shopify and I want to do integration testing. I need to be able to …

ruby-on-rails capybara shopify
Cucumber and Capybara, clicking a non-link or button element

I am trying to test an inplace editor using Cucumber/Capybara/Selenium stack, but my problem is that the editor …

selenium cucumber integration-testing webdriver capybara
How to get a HTML table row with Capybara

I am trying to scan rows in a HTML table using partial href xpath and perform further tests with that …

ruby selenium-webdriver cucumber capybara cucumber-jvm
Cucumber, capybara and selenium - Submitting a form without a button

I have a test using Cucumber, capybara and selenium driver. This test should go to a form and submit it. …

ruby selenium cucumber capybara
How to find last matching element in capybara?

I wanted to do find by class_name and return last element among all elements. In jquery, we can write …

capybara
Is it possible to take a screenshot of the whole page with Selenium/Capybara?

PhantomJS has the option of taking a screenshot of the whole page (not just the current viewport). Is there any …

selenium cucumber capybara screenshot
How to wait till an element appears after an AJAX call using capybara-webkit?

The capybara method, wait_until doesn't seems to work for capybara-webkit. Is there any alternate solution for that, or any …

capybara capybara-webkit