class Selenium::WebDriver::Support::Select
def select_option(option)
def select_option(option) raise Error::UnsupportedOperationError, 'You may not select a disabled option' unless option.enabled? option.click unless option.selected? end
def select_option(option) raise Error::UnsupportedOperationError, 'You may not select a disabled option' unless option.enabled? option.click unless option.selected? end