lib/appium_lib/ios/common/helper.rb in appium_lib-11.0.0 vs lib/appium_lib/ios/common/helper.rb in appium_lib-11.1.0
- old
+ new
@@ -47,10 +47,11 @@
end
puts " hint: #{hint}" if hint
puts " visible: #{visible}" if visible
end
end
+
# iOS only. On Android uiautomator always returns an empty string for EditText password.
#
# Password character returned from value of UIASecureTextField
# @param length [Integer] the length of the password to generate
# @return [String] the returned string is of size length
@@ -468,10 +469,10 @@
# name/label/value are optional. when searching for class only, then none
# will be present.
_validate_object opts[:name], opts[:label], opts[:value]
- # note that mainWindow is sometimes nil so it's passed as a param
+ # NOTE: that mainWindow is sometimes nil so it's passed as a param
# $._elementOrElementsByType will validate that the window isn't nil
element_or_elements_by_type = <<-JS
(function() {
var opts = #{opts.to_json};
var result = false;