Home | History | Annotate | Download | only in ap_configurators

Lines Matching refs:alert

19     def _alert_handler(self, alert):
20 """Checks for any modal dialogs which popup to alert the user and
21 either raises a RuntimeError or ignores the alert.
24 alert: The modal dialog's contents.
26 text = alert.text
28 alert.accept()
30 alert.accept()
32 alert.accept()
34 raise RuntimeError('We have an unhandled alert: %s' % text)
95 # Second alert may pop-up, so we must send it to our alert handler
97 alert = self.driver.switch_to_alert()
100 logging.debug("No alert present")