We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af76d4d commit 01f4ecfCopy full SHA for 01f4ecf
lib/appium_lib/ios/patch.rb
@@ -38,7 +38,7 @@ def type text
38
js = <<-JS
39
if (au.mainApp().keyboard().type() !== "UIAElementNil") {
40
var startY = au.mainApp().keyboard().rect().origin.y - 10;
41
- var endY = au.mainWindow.rect().size.height - 10;
+ var endY = au.mainWindow().rect().size.height - 10;
42
au.flickApp(0, startY, 0, endY);
43
}
44
JS
0 commit comments