Inside your test, get the current Protractor instance and use switchTo().alert() to access the alert dialog box: var ptor = protractor.
確定! 回上一頁