For Capybara, use this step: Then /^"([^"]*)" should be a disabled option for "([^"]*)"(?: within "([^\"]*)")?$/ do |value, field, selector| with_scope(selector...
Use the click method on the DOM element: let link = document.querySelector('a') link.click()
Using CSS sprites for background images is a technique for optimizing page load time by combining smaller images into a...
Similar to closing an opened browser window, spreewald now supports the I switch to the new browser tab step.
The ipad onscreen keyboard changes position:fixed style to position:static that misplaces those elements and you'll have problems...
Next time you have to do more than trivial CSS changes on a project, you probably want to have live...
Set the hash to a dummy hash which doesn't hit any id at your page, for example: window.location.hash = "_";
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...
The Ruby on Rails security list archive can be found here: http://groups.google.com/group/rubyonrails-security You can subscribe to this mailing...
Our development process makes us deploy very often. As the number of releases grows, junk clogs up the hard drive...
Back in the old days, we couldn't do something like that: .foo { position: absolute; bottom: 0; /* This was bad...
Capybara drivers will usually delete all cookies after each scenario. If you need to lose cookie data in the middle...
When your site is on HTTPS and you are linking or redirecting to a HTTP site, the browser will not...
Note: These instructions are for a quick per-project setup and may require you to change code. If you generally...
Authentication is hard: there are many edge cases, and most users (including yourself) usually only go the "happy path" once...
We have often felt the pain where our models need to serve too many masters. E.g. we are adding a...
Non-SSL contents on SSL pages are blocked by default Bug 834836 – Turn on pref to block mixed active content...
What you copy may not be what you see in the browser. Here is an online tool to determine the...
TL;DR: Variables not declared using var are stored outside the current scope, most likely in the global scope (which...
Find out in this short guide, how to horizontally center a absolute positioned container with CSS. Note: We have a...
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...
The way Rational#to_s works on Ruby has changed from Ruby 1.9 on. Here is how to get the...