Sha256: 8b939ec220c3154941e3c31ca9441000fc4d065a0e759b714c49c5fe7b1543f6

Contents?: true

Size: 387 Bytes

Versions: 4

Compression:

Stored size: 387 Bytes

Contents

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


        def exist?
          @locators[:id].nil? ? super : super && matches_type(Constants::UIA_CHECKBOX_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/checkbox.rb
rautomation-0.6.2 lib/rautomation/adapter/win_ffi/checkbox.rb
rautomation-0.6.1 lib/rautomation/adapter/win_ffi/checkbox.rb
rautomation-0.6.0 lib/rautomation/adapter/win_ffi/checkbox.rb