I recently encountered the error above when I was running selenium tests. Thanks to a post on stackoverflow I found...

theprogrammingbutler.com

Similar to closing an opened browser window, spreewald now supports the I switch to the new browser tab step.

weblog.rubyonrails.org

Rails 4.0 is finally ready after a thorough process of betas and release candidates. It's an amazing new version...

This card shows how to upgrade a Rails 2 application from Rails 2.3.8 through every single patch level up to...

Merge requests are often rejected for similar reasons. To avoid this, before you send a merge request, please confirm that...

github.com

Essential backports that enable many of the nice features of Ruby 1.8.7 up to 2.0.0 for earlier versions.

Capybara drivers will usually delete all cookies after each scenario. If you need to lose cookie data in the middle...

You have multiple options: Just don't have a type column. All STI magic will be disabled automatically.

Sometimes you need a piece of code to do something different for specs than for features. If you don't...

When you want to do a git diff but do not care about the full diff and just want to...

makandra dev
aaronlasseigne.com

All Rubyists should be familiar with the common definitions for include and extend. You include a module to add instance...

Note: This technique is confusing and slows down your test suite. Copy the attached code to features/support. This gets you...

nt.ntnu.no

yaml4r is a juxtaposition of yaml documents and their Ruby couterpart. Thus, it does a great job as YAML-doc...

The User-Agent HTTP header identifies the client and is sent by "regular" browsers, search engine crawlers, or other web...

makandra dev

Ever wondered about the difference between def and define_method? Turns out there are three implicit contexts in Ruby. def...

When a controller action redirects to an external URL (like http://somehost.com/some/path) you will find that this is hard...

Unfortunately, Capybara does not offer a switch to disable cookies in your test browser. However, you can work around that...

To set a cookie in your test browser for cucumber tests, you need to know which driver you are using...

The following code doesn't work like expected: page.find(css_selector).find(other_css_selector) The second .find will search...

If you open a pop-up window [1] in your Selenium tests and you want to close it, you can...

If you need to capture signatures on an IPad or similar device, you can use Thomas J Bradley's excellent...

developer.mozilla.org

Counters are an awesome CSS feature you didn't know about. It is supported in all browsers and IE8+.

makandra dev
github.com

UnicodeUtils implements Unicode algorithms for case conversion, normalization, text segmentation and more in pure Ruby code.

rubydoc.info

When you accept a table in your Cucumber step definition, that table object will have the cryptic type Cucumber::Ast...