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 ee17332 commit 5692f96Copy full SHA for 5692f96
1 file changed
lib/appium_lib/element/ios/generic.rb
@@ -36,7 +36,7 @@ def first_ele_js predicate
36
}
37
38
var w = au.mainWindow;
39
- var search = #{predicate};
+ var search = "#{predicate}";
40
var a = w.secureTextFields().firstWithPredicate(search);
41
if ( isNil(a) ) {
42
a = w.textFields().firstWithPredicate(search);
@@ -59,7 +59,7 @@ def first_ele_js predicate
59
def all_ele_js predicate
60
%Q(
61
62
63
var a = w.elements().withPredicate(search).toArray();
64
65
if ( a.length === 0 ) {
@@ -137,4 +137,4 @@ def names text
137
execute_script js
138
end
139
140
-end # if ios
+end # if ios
0 commit comments