class Capybara::Node::Simple

def disabled?

Returns:
  • (Boolean) - Whether the element is disabled
def disabled?
  native.has_attribute?('disabled')
end