Sha256: c9599b3596a116db176f5479fbfd40e7949696081aac5749cc3af8acfaac0108

Contents?: true

Size: 446 Bytes

Versions: 1

Compression:

Stored size: 446 Bytes

Contents

module RAutomation
  module Adapter
    module WinFfi
      class Label < Control
        include WaitHelper
        include Locators

        def value
          Functions.control_value(Functions.control_hwnd(@window.hwnd, @locators))
        end

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

        alias_method :exists?, :exist?

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rdp-rautomation-0.6.3.1 lib/rautomation/adapter/win_ffi/label.rb