Sha256: 3dd068442ea36479591544b893f287bfc2ac9d70c6d8b15babcd81e66fef7d27
Contents?: true
Size: 619 Bytes
Versions: 4
Compression:
Stored size: 619 Bytes
Contents
module RAutomation module Adapter module WinFfi class Button < Control include WaitHelper include Locators # Default locators used for searching buttons. DEFAULT_LOCATORS = {:class => /button/i} # @see RAutomation::Button#value def value Functions.control_value(Functions.control_hwnd(@window.hwnd, @locators)) end def exist? @locators[:id].nil? ? super : super && matches_type(Constants::UIA_BUTTON_CONTROL_TYPE) end alias_method :exists?, :exist? end end end end
Version data entries
4 entries across 4 versions & 1 rubygems