Skip to content

Commit 6f66b46

Browse files
Name contains moved upstream
1 parent 2d33b5c commit 6f66b46

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/appium_lib/ios/element/generic.rb

-5
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,6 @@ def texts text
214214
# @param name [String] the name to search for
215215
# @return [Element] the first matching element
216216
def name name
217-
unless ios_js_loaded? 'name_contains_js'
218-
execute_script name_contains_js
219-
ios_js_load 'name_contains_js'
220-
end
221-
222217
execute_script %(au.mainApp.getNameContains("#{name}"))
223218
end
224219

0 commit comments

Comments
 (0)