Sha256: f98fdff7648b9bb15eab00277b716b92f3bfd00938704479f647486aaecbd14f
Contents?: true
Size: 764 Bytes
Versions: 18
Compression:
Stored size: 764 Bytes
Contents
module Appium module Device extend Forwardable class << self def extended(_mod) add_touch_actions end private def add_touch_actions actions = Appium::TouchAction::COMPLEX_ACTIONS actions.each do |method| delegate_from_appium_driver(method, Appium::TouchAction) end # To keep compatibility # pinch and zoom are defined in Appium::MultiTouch. delegate_from_appium_driver(:pinch, Appium::MultiTouch) delegate_from_appium_driver(:zoom, Appium::MultiTouch) end def delegate_from_appium_driver(method, delegation_target) def_delegator delegation_target, method end end # class << self end # module Device end # module Appium
Version data entries
18 entries across 18 versions & 1 rubygems