jnicklas/capybara — Issue #640: How to use ":not(:disabled)" selector?
Author: dnagir
Created: 2012-02-15 06:42:13+00:00
State: open

With a spec:

```
subject { render }
it { should have_selector "select:not(:disabled)" }
```
I get:

```
RuntimeError:
xmlXPathCompOpEval: function disabled not found
```

It would be good if this would be supported since `:disabled` pseudo-class is [part of w3.org](http://www.w3.org/wiki/CSS/Selectors/pseudo-classes/:disabled).

Current workaround is to assert against a specific css class added to the element or wrapper.