Simply give the select helper an option :disabled, passing either a single value or an array. You need to specify...
You can use CSS attribute selectors in your step definitions like this: Then /^the page should have a meta description...
Give your iframe a name attribute (i.e. ) and then simply use When I press "Foo" in the iframe "myframe"
We are consistently having trouble with selenium-webdriver > 2.5.0 where whenever we try to select an option from a Capybara...
You can say this in helpers like link_to and content_tag: = link_to 'Label', root_url, :data => { :foo => 'bar...
If you want to test that a certain text is contained within the document title of your page, you can...
For Capybara, use this step: Then /^"([^"]*)" should be a disabled option for "([^"]*)"(?: within "([^\"]*)")?$/ do |value, field, selector| with_scope(selector...
When you don't know which options are available, but need to have an option selected, use this step.
Using the jQuery adapter breaks the built-in save function of CKEditor. Phenomenon: The page is submitted correctly, but the...
Safari & Chrome Use $x() in your console: $x('//span') # selects all span elements Firefox There's an add-on.
To delay your entire Jasmine test suite until the DOM is ready, add the following: beforeAll(function(done) { $(done); });
Though the W3C even gives it as an example, no browser actually supports this CSS: img:before { content: "something"; }
...web browser. As any JavaScript, you include a link to the script in your HTML, and…that’s that. LESS is now going to process LESS code so instead of...
We now have a gem that supports our form model approach.
Great look at the tradeoffs between progressive enhancement with jQuery or similiar, vs. client-side views.
Interesting interview with DHH, where he talks about how they made the new Basecamp feel very fast without using a...
Good guide to different ways you can write CSS selectors that select elements by their attribute values.
Liquid Canvas is a JavaScript library which allows you to draw inside an HTML canvas element with an easy yet powerful description language. It can be used to add graphics...
Javascript that implements client-side hyphenation of HTML-Documents...
Until some future version of HTML gives us new native controls to use in a browser, at Google, we’ve been playing and experimenting with controls we call “custom buttons...
...which (for example) return a resource, but return it all wrapped up in the HTML needed to display it as a form for browser-based editing...
This is a project to make a complete replacement for the default HTML generator for Rdoc, the API documentation-extraction system for Ruby...
In a nutshell, Bowline lets you build cross platform desktop applications with Ruby, HTML and JavaScript. The idea is to make building desktop apps as simple (and fun) as building...
...jQuery plugin created by Artlogic for creating dynamic character and background animation in pure HTML and JavaScript. It's a simple, light-weight plugin with a few simple methods for...