I want to create a selector that will check that a specific element does not have a class at all.
I have this selector (Groovy) ->
selector = $('span', text: 'Walrus').parent().children("h5", class: notContains("disabled"))
This won't work because It's expecting the element to have a class, and for the class to not be 'disabled'.
Not looking for workaround answers, just curious if there's any way to do this in any language.