Does it return true on 5!=='5' ?

Then not, I would let both not eq. 5 and '5' as argument to get the same result. And html attributes could be numbers or strings without semantic difference..

Viele Grüße
Alexei Vinogradov 
--
Sent from mobile phone

> Am 06.04.2014 um 10:03 schrieb Andrei Rusu <notifications@github.com>:
> 
> In lib/selenium/assertions/attributeNotEquals.js:
> 
> > + */
> > +
> > +var util = require('util');
> > +exports.assertion = function(selector, attribute, expected, msg) {
> > +
> > +  var MSG_ELEMENT_NOT_FOUND = 'Testing if element <%s> has attribute: %s !="%s". ' +
> > +    'Element could not be located.';
> > +
> > +  this.message = msg || util.format('Testing if element <%s> has no attribute: %s = "%s".', selector, attribute, expected);
> > +
> > +  this.expected = function() {
> > +    return 'not ' + expected;
> > +  };
> > +
> > +  this.pass = function(value) {
> > +    return value != expected;
> isn't better for the operator to be "!==" ?
> 
> —
> Reply to this email directly or view it on GitHub.