Method: Selenium::WebDriver::Element#selected?

Defined in:
lib/selenium/webdriver/common/element.rb

#selected?Boolean

Is the element selected?

Returns:

  • (Boolean)
[View source]

242
243
244
# File 'lib/selenium/webdriver/common/element.rb', line 242

def selected?
  bridge.element_selected? @id
end