This is a problem when using Selenium with Firefox. We recommend using ChromeDriver for your Selenium tests. Firefox will not...
Firefox 5.0.1, which we were using for most Rails 2.3 projects, does not run on Ubuntu 14.04 any more. Here...
Capybara and most assistive technology will fail to find tags that are missing an href attribute. This will probably happen...
When using jQueryUI's Sortable plugin (either directly or via Angular's ui.sortable), you might struggle testing your nice drag...
In Cucumber, scenario outlines help avoiding tests that are basically the same, except for a few variables (such as different...
When you don't only have a favicon.ico in your project but also PNGs of different sizes and backgrounds, you...
Aruba is an extension to Cucumber that helps integration-testing command line tools. When your tests involve a Rails test...
When you cannot make Selenium trigger events you rely on (e.g. a "change" event when filling in a form field...
An all-in-approach to fix the problem of pending AJAX requests dying in the browser when the server ends...
You need this awkward command: page.driver.browser.action.move_to(page.find(selector).native).perform Note that there are better ways for newer Capybaras...
Using this gem, whenever a Capybara test in Cucumber, Rspec or Minitest fails, the HTML for the failed page and...
The error unexpected 'x' after 'DESCENDANT_SELECTOR' (Nokogiri::CSS::SyntaxError) (where x may be basically any character) occurs when the...
When using TextMate2 with the cucumber bundle, it does not recognize step definitions (e.g. custom_steps.rb) as such but believes they...
String#indent is not a standard Ruby method. When you use it, be sure to know where this method comes...
"I click on ..." step fixed Errors added to ToleranceForSeleniumSyncIssues::RETRY_ERRORS Capybara::ElementNotFound Selenium::WebDriver::Error::ElementNotVisibleError Selenium::WebDriver::Error...
Spreewald includes a few useful steps for debugging a Capybara session. Then show me the page # => Opens the page in...
Usually, Cucumber feature files live in features/. When you group them in sub directories, make sure to add -r features...
I had to deal with JavaScript Undefined Error while accessing a specific CKEditor instance to fill in text. Ensure everything...
Sometimes you have a test expectation but actually want a better error message in case of a failure. Here is...
Put the attached file into features/support/. Example usage: When /^I open the task named "(.+?)"$/ do |task_name| task = page.all('.task...
After I upgraded to Mac OS X Mavericks, I regularly got this error message when running Cucumber features with Selenium...
If you want to test that a certain text is contained within the document title of your page, you can...
TLDR: This card explains which threads and processes interact with each other when you run a Selenium test with Capybara...
# Attach a file # # Example: # # Company.new.logo = File.new… # # Given the file "…" was attached as logo to the company above # # # Example: # # class Gallery...