ios_tests/lib/ios/specs/ios/element/alert.rb in appium_lib-3.0.3 vs ios_tests/lib/ios/specs/ios/element/alert.rb in appium_lib-4.0.0
- old
+ new
@@ -27,14 +27,9 @@
text('Show OK-Cancel').click
text('UIActionSheet <title>').displayed?
end
end
- # iOS 7 is not using the alert methods. alert is nil.
- def ios7_alert_detected
- execute_script 'UIATarget.localTarget().frontMostApp().alert().isNil()'
- end
-
t 'alert_accept' do
alert_accept
end
t 'alert_dismiss' do
\ No newline at end of file