class Capybara::Node::Simple
def selected?
-
(Boolean)
- Whether the element is selected
def selected? native.has_attribute?('selected') end
(Boolean)
- Whether the element is selected
def selected? native.has_attribute?('selected') end