Skip to content

Commit 5692f96

Browse files
Fix quote
1 parent ee17332 commit 5692f96

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/appium_lib/element/ios/generic.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def first_ele_js predicate
3636
}
3737
3838
var w = au.mainWindow;
39-
var search = #{predicate};
39+
var search = "#{predicate}";
4040
var a = w.secureTextFields().firstWithPredicate(search);
4141
if ( isNil(a) ) {
4242
a = w.textFields().firstWithPredicate(search);
@@ -59,7 +59,7 @@ def first_ele_js predicate
5959
def all_ele_js predicate
6060
%Q(
6161
var w = au.mainWindow;
62-
var search = #{predicate};
62+
var search = "#{predicate}";
6363
var a = w.elements().withPredicate(search).toArray();
6464
6565
if ( a.length === 0 ) {
@@ -137,4 +137,4 @@ def names text
137137
execute_script js
138138
end
139139

140-
end # if ios
140+
end # if ios

0 commit comments

Comments
 (0)