Sha256: 6250d28f97610049e872534745051035a9a774fb28706e42c428ba9e2951bdcd

Contents?: true

Size: 271 Bytes

Versions: 2

Compression:

Stored size: 271 Bytes

Contents

require_rel 'control'

module Mohawk
  module Adapters
    module UIA
      class Button < Control
        include Mohawk::Waiter
        valid_patterns :invoke

        def click
          element.as(:invoke).invoke
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mohawk-1.0 lib/mohawk/adapters/uia/button.rb
mohawk-0.4.4 lib/mohawk/adapters/uia/button.rb