Class: RAutomation::Adapter::WinFfi::Radio

Inherits:
Control
  • Object
show all
Includes:
ButtonHelper, WaitHelper
Defined in:
lib/rautomation/adapter/win_ffi/radio.rb

Instance Method Summary collapse

Methods included from ButtonHelper

#clear, #set, #set?

Methods inherited from Control

#assert_enabled, #click, #disabled?, #enabled?, #has_focus?, #initialize, #matches_type, #set_focus, #uia_control

Constructor Details

This class inherits a constructor from RAutomation::Adapter::WinFfi::Control

Instance Method Details

#exist?Boolean Also known as: exists?

Returns:

  • (Boolean)


10
11
12
# File 'lib/rautomation/adapter/win_ffi/radio.rb', line 10

def exist?
  @locators[:id].nil? ? super : super && matches_type(Constants::UIA_RADIO_BUTTON_CONTROL_TYPE)
end