Sha256: 1d32e6801ca11d7594c2fe864926b32756a86066d8aa86caa01cd2a10878b95b

Contents?: true

Size: 388 Bytes

Versions: 4

Compression:

Stored size: 388 Bytes

Contents

module RAutomation
  module Adapter
    module WinFfi
      class Radio < Control
        include WaitHelper
        include Locators
        include ButtonHelper


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

        alias_method :exists?, :exist?

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rautomation-0.6.3 lib/rautomation/adapter/win_ffi/radio.rb
rautomation-0.6.2 lib/rautomation/adapter/win_ffi/radio.rb
rautomation-0.6.1 lib/rautomation/adapter/win_ffi/radio.rb
rautomation-0.6.0 lib/rautomation/adapter/win_ffi/radio.rb