Sha256: 8cf5300360499c93eebe5813cc303bdd82484c6f0ba14fe326b04970c77fad89
Contents?: true
Size: 512 Bytes
Versions: 12
Compression:
Stored size: 512 Bytes
Contents
module Appium module Ios # Accept the alert. # @return [void] def alert_accept # @driver.switch_to.alert.accept # ".switch_to.alert" calls getAlertText so use bridge directly driver.send(:bridge).acceptAlert end # Dismiss the alert. # @return [void] def alert_dismiss # @driver.switch_to.alert.dismiss # ".switch_to.alert" calls getAlertText so use bridge directly driver.send(:bridge).dismissAlert end end # module Ios end # module Appium
Version data entries
12 entries across 12 versions & 1 rubygems