class Capybara::Selector::Filters::NodeFilter

def matches?(node, value)

def matches?(node, value)
  return true if skip?(value)
  raise ArgumentError, "Invalid value #{value.inspect} passed to filter #{@name}" unless valid_value?(value)
  @block.call(node, value)
end