makandra dev

When browsing a repository, pressing "t" allows you to quickly search for file names. Very awesome! Go here to try...

Detecting if a Javascript is running under Selenium WebDriver is super-painful. It's much easier to detect the current...

makandra dev

Hint: There's another card with this helper for Cucumber features. Sometimes you feel like you need to stub some...

makandra dev

The Capybara API is somewhat hard for parse for a list of methods you can call on a Capybara node...

When your Cucumber feature needs to browse the page HTML, and you are not sure how to express your query...

makandra dev

When you need to create a locale for a language variant (like Austrian for German), you probably don't want...

robots.thoughtbot.com

I think this pattern is really useful not just for upgrading suites from Webrat, but really anywhere you have an...

This is now part of geordi. Please don't follow the instructions below, if you use geordi. Inspired by the...

makandra dev

When you have a program running in a hidden X screen (like with Xvfb for Selenium tests) you may want...

Note: While the solution in this card should still work, we prefer another solution now: Hide your Selenium browser window...

This note describes how to kick a user out of a Rails application after she hasn't requested an action...

If you use Selenium and Launchy to open web pages, you might run into an error saying "Your Firefox profile...

API breakage ahoy. You need to either upgrade your Capybara or downgrade your selenium-webdriver gem. Alternatively, this could solve...

Note: Consider using MATE instead of Gnome 3 on newer system Awesome is a very good tiling window manager that...

VirtualBox does not offer anything for this task -- you need to do it yourself. It's not that hard:

These steps are now part of Spreewald. Since Capybara 0.4.1 a within scope will only look at the first element...

The step definition below allows you to write: Then I should see a link labeled "Foo" But I should not...

Here is how to switch your Selenium to Chrome: Make sure you've got a recent version of chromedriver in...

If you need Google Chrome to run in English, and your system locale is a non-English one, you have...

When some of your Google contacts are no longer synchronized with your e-mail client or mobile phone, those contacts...

37signals.com

We recently added custom fields to Highrise which allow you to keep track of extra details beyond standard contact information...

I encountered a bug in RSpec 1.x where stubbed class methods ("static methods") would not be unstubbed before the...

I pushed a new version of the Cucumber Factory gem. This new release lets you refer to a previously created...

geordi, our collection of awesome shell scripts, has been extended by three scripts to help you call RSpec or Cucumber...