We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d33b5c commit 6f66b46Copy full SHA for 6f66b46
lib/appium_lib/ios/element/generic.rb
@@ -214,11 +214,6 @@ def texts text
214
# @param name [String] the name to search for
215
# @return [Element] the first matching element
216
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
-
222
execute_script %(au.mainApp.getNameContains("#{name}"))
223
end
224
0 commit comments