Sha256: 86c112198f61c6d0f37b873cb36f04b3379315ba2154b291ec7e140395d8e951

Contents?: true

Size: 851 Bytes

Versions: 9

Compression:

Stored size: 851 Bytes

Contents

module Appium
  module Ios

    # Find the first element containing value
    # @param value [String] the value to search for
    # @return [Element]
    def find value
      xpath_visible_contains '*', value
    end

    # Find all elements containing value
    # @param value [String] the value to search for
    # @return [Array<Element>]
    def finds value
      xpaths_visible_contains '*', value
    end

    # Find the first element exactly matching value
    # @param value [String] the value to search for
    # @return [Element]
    def find_exact value
      xpath_visible_exact '*', value
    end

    # Find all elements exactly matching value
    # @param value [String] the value to search for
    # @return [Array<Element>]
    def finds_exact value
      xpaths_visible_exact '*', value
    end
  end # module Ios
end # module Appium

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
appium_lib-4.1.0 lib/appium_lib/ios/element/generic.rb
appium_lib-4.0.0 lib/appium_lib/ios/element/generic.rb
appium_lib-3.0.3 lib/appium_lib/ios/element/generic.rb
appium_lib-3.0.2 lib/appium_lib/ios/element/generic.rb
appium_lib-3.0.1 lib/appium_lib/ios/element/generic.rb
appium_lib-3.0.0 lib/appium_lib/ios/element/generic.rb
appium_lib-2.1.0 lib/appium_lib/ios/element/generic.rb
appium_lib-2.0.0 lib/appium_lib/ios/element/generic.rb
appium_lib-1.0.0 lib/appium_lib/ios/element/generic.rb