Skip to content

Commit 7c4e8d1

Browse files
search_id, search_value replaced with xml_keys, xml_values
1 parent a390bf5 commit 7c4e8d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/appium_lib/android/helper.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -386,15 +386,15 @@ def fast_duration
386386
# Search strings.xml's values for target.
387387
# @param target [String] the target to search for in strings.xml values
388388
# @return [Array]
389-
def search_id target
390-
mobile :searchId, target
389+
def xml_keys target
390+
mobile :xmlKeyContains, target
391391
end
392392

393393
# Search strings.xml's keys for target.
394394
# @param target [String] the target to search for in strings.xml keys
395395
# @return [Array]
396-
def search_value target
397-
mobile :searchValue, target
396+
def xml_values target
397+
mobile :xmlValueContains, target
398398
end
399399

400400
# Resolve id in strings.xml and return the value.

0 commit comments

Comments
 (0)