Method: Appium::Android#complex_find_contains

Defined in:
lib/appium_lib/android/common/helper.rb

#complex_find_contains(class_name, value) ⇒ Element

Find the first element that contains value

Parameters:

  • class_name (String)

    the class name for the element

  • value (String)

    the value to search for

Returns:

  • (Element)


270
271
272
# File 'lib/appium_lib/android/common/helper.rb', line 270

def complex_find_contains(class_name, value)
  find_element :uiautomator, string_visible_contains(class_name, value)
end