Dismiss Alert

Use browser.alert to manipulate browser alerts.To dismiss alert use: browser.alert.dismiss() > dismissing alert dismissed alert text: _____ hello alert _____ . dismissed alert (19ms)

Accept Alert

To accept alert use: browser.alert.accept() > accepting alert accepted alert text: _______ hello confirm _______ . accepted alert (18ms)

Alert Text

To wait on or validate alert text use: browser.alert.text.waitTo == "hello delayed\nalert" browser.alert.accept() > waiting for text of browser alert to equal _____________ hello delayed alert _____________ . text of browser alert equals _____________ hello delayed alert _____________ (108ms)