Class: Mohawk::Adapters::UIA::Radio

Inherits:
Control
  • Object
show all
Defined in:
lib/mohawk/adapters/uia/radio.rb

Instance Method Summary collapse

Methods inherited from Control

#click, #disabled?, #element, #enabled?, #exist?, #focus, #handle, #initialize, #method_missing, valid_patterns, #value, #view, #visible?

Methods included from Waiter

#wait_until

Constructor Details

This class inherits a constructor from Mohawk::Adapters::UIA::Control

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Mohawk::Adapters::UIA::Control

Instance Method Details

#setObject



7
8
9
# File 'lib/mohawk/adapters/uia/radio.rb', line 7

def set
  selection_item.select
end

#set?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/mohawk/adapters/uia/radio.rb', line 11

def set?
  selection_item.selected?
end