Sha256: a6d061985699497ca52a3ffbce1170a0c7f6a72a64b574da53b3bd329ac9d49a

Contents?: true

Size: 932 Bytes

Versions: 15

Compression:

Stored size: 932 Bytes

Contents

# frozen_string_literal: true

#noinspection ALL
module TestaAppiumDriver
  FIND_STRATEGY_UIAUTOMATOR = :uiautomator
  FIND_STRATEGY_XPATH = :xpath
  FIND_STRATEGY_ID = :id
  FIND_STRATEGY_NAME = :name
  FIND_STRATEGY_IMAGE = :image
  FIND_STRATEGY_CLASS_CHAIN = :class_chain

  SCROLL_STRATEGY_UIAUTOMATOR = :uiautomator
  SCROLL_STRATEGY_W3C = :w3c


  SCROLL_CORRECTION_W3C = 30
  SCROLL_ALIGNMENT_THRESHOLD = 25

  SCROLL_ACTION_TYPE_SCROLL = :scroll
  SCROLL_ACTION_TYPE_FLING = :fling
  SCROLL_ACTION_TYPE_DRAG = :drag


  DEFAULT_UIAUTOMATOR_MAX_SWIPES = 20

  DEFAULT_ANDROID_FIND_STRATEGY = FIND_STRATEGY_UIAUTOMATOR
  #DEFAULT_ANDROID_SCROLL_STRATEGY = SCROLL_STRATEGY_UIAUTOMATOR
  DEFAULT_ANDROID_SCROLL_STRATEGY = SCROLL_STRATEGY_W3C


  DEFAULT_IOS_FIND_STRATEGY = FIND_STRATEGY_XPATH
  DEFAULT_IOS_SCROLL_STRATEGY = SCROLL_STRATEGY_W3C

  DEFAULT_W3C_MAX_SCROLLS = 7

  EXISTS_WAIT = 0.5
  LONG_TAP_DURATION = 1.5
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
testa_appium_driver-0.1.33 ./lib/testa_appium_driver/common/constants.rb
testa_appium_driver-0.1.32 ./lib/testa_appium_driver/common/constants.rb
testa_appium_driver-0.1.31 ./lib/testa_appium_driver/common/constants.rb
testa_appium_driver-0.1.30 ./lib/testa_appium_driver/common/constants.rb
testa_appium_driver-0.1.28 lib/testa_appium_driver/common/constants.rb
testa_appium_driver-0.1.27 lib/testa_appium_driver/common/constants.rb
testa_appium_driver-0.1.26 lib/testa_appium_driver/common/constants.rb
testa_appium_driver-0.1.25 lib/testa_appium_driver/common/constants.rb
testa_appium_driver-0.1.24 lib/testa_appium_driver/common/constants.rb
testa_appium_driver-0.1.22 lib/testa_appium_driver/common/constants.rb
testa_appium_driver-0.1.18 lib/testa_appium_driver/common/constants.rb
testa_appium_driver-0.1.17 lib/testa_appium_driver/common/constants.rb
testa_appium_driver-0.1.16 lib/testa_appium_driver/common/constants.rb
testa_appium_driver-0.1.15 lib/testa_appium_driver/common/constants.rb
testa_appium_driver-0.1.14 lib/testa_appium_driver/common/constants.rb