jonleighton/poltergeist — Issue #30: Handle elements that have gone
Author: jonleighton
Created: 2012-02-24 18:11:27+00:00
State: open

A capybara quey like:

``` ruby
page.should have_no_selector('#foo', :text => 'bar')
```

Causes capybara to:

1. Find the element
2. Get its text

If the element is removed from the DOM between 1 and 2, it will cause an error.

We should handle this, and other similar scenarios, as gracefully as possible.