We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc0c79c commit 637fef7Copy full SHA for 637fef7
lib/appium_lib/ios/patch.rb
@@ -14,19 +14,6 @@ def type text
14
JS
15
@driver.execute_script js
16
end
17
-
18
- # returns if the element is visible
19
- # true: 1 = visible,
20
- # false: 0 = not visible, null = unknown
21
- #
22
- # http://developer.apple.com/library/ios/#documentation/ToolsLanguages/Reference/UIAElementClassReference/UIAElement/UIAElement.html#//apple_ref/doc/uid/TP40009903
23
- def visible
24
- js = <<-JS
25
- au.getElement('#{self.ref}').isVisible();
26
- JS
27
- result = @driver.execute_script js
28
- result == 1 ? true : false
29
- end
30
31
32
0 commit comments