久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <i id='8rRFQ'><tr id='8rRFQ'><dt id='8rRFQ'><q id='8rRFQ'><span id='8rRFQ'><b id='8rRFQ'><form id='8rRFQ'><ins id='8rRFQ'></ins><ul id='8rRFQ'></ul><sub id='8rRFQ'></sub></form><legend id='8rRFQ'></legend><bdo id='8rRFQ'><pre id='8rRFQ'><center id='8rRFQ'></center></pre></bdo></b><th id='8rRFQ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='8rRFQ'><tfoot id='8rRFQ'></tfoot><dl id='8rRFQ'><fieldset id='8rRFQ'></fieldset></dl></div>

      <bdo id='8rRFQ'></bdo><ul id='8rRFQ'></ul>

  • <small id='8rRFQ'></small><noframes id='8rRFQ'>

    <legend id='8rRFQ'><style id='8rRFQ'><dir id='8rRFQ'><q id='8rRFQ'></q></dir></style></legend>

    1. <tfoot id='8rRFQ'></tfoot>

        使用量角器檢查瀏覽器控制臺中沒有錯誤

        Check there were no errors in the browser console with Protractor(使用量角器檢查瀏覽器控制臺中沒有錯誤)

          <bdo id='RQorM'></bdo><ul id='RQorM'></ul>
          <legend id='RQorM'><style id='RQorM'><dir id='RQorM'><q id='RQorM'></q></dir></style></legend>

          <small id='RQorM'></small><noframes id='RQorM'>

          <i id='RQorM'><tr id='RQorM'><dt id='RQorM'><q id='RQorM'><span id='RQorM'><b id='RQorM'><form id='RQorM'><ins id='RQorM'></ins><ul id='RQorM'></ul><sub id='RQorM'></sub></form><legend id='RQorM'></legend><bdo id='RQorM'><pre id='RQorM'><center id='RQorM'></center></pre></bdo></b><th id='RQorM'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='RQorM'><tfoot id='RQorM'></tfoot><dl id='RQorM'><fieldset id='RQorM'></fieldset></dl></div>

              <tbody id='RQorM'></tbody>

            <tfoot id='RQorM'></tfoot>

                  本文介紹了使用量角器檢查瀏覽器控制臺中沒有錯誤的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在使用 Protractor 測試 AngularJS

                  I'm using Protractor to test AngularJS

                  我想檢查在測試結束時沒有發生未捕獲的異常并打印到瀏覽器控制臺.

                  I want to check that at the end of the test no uncaught exceptions occurred and were printed to the browser console.

                  有簡單的方法嗎?

                  推薦答案

                  如果你在 Jasmine 中使用 Protractor,請使用以下代碼:

                  If you're using Protractor with Jasmine, use the following code:

                  afterEach(function() {
                      browser.manage().logs().get('browser').then(function(browserLog) {
                          expect(browserLog.length).toEqual(0);
                      });
                  });
                  

                  如果沒有控制臺錯誤,這將通過測試用例.如果有任何控制臺錯誤,測試將失敗.

                  This will pass the test case if there are no console errors. If there are any console errors, the test will fail.

                  有關如何訪問瀏覽器控制臺內容的說明可以在 如何獲取瀏覽器控制臺常見問題解答部分.

                  Instructions on how to access the content of the browser's console can be found in the How can I get hold of the browser's console section of the FAQ.

                  這篇關于使用量角器檢查瀏覽器控制臺中沒有錯誤的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Browser waits for ajax call to complete even after abort has been called (jQuery)(即使在調用 abort (jQuery) 之后,瀏覽器也會等待 ajax 調用完成)
                  JavaScript innerHTML is not working for IE?(JavaScript innerHTML 不適用于 IE?)
                  XMLHttpRequest cannot load, No #39;Access-Control-Allow-Origin#39; header is present on the requested resource(XMLHttpRequest 無法加載,請求的資源上不存在“Access-Control-Allow-Origin標頭) - IT屋-程序員軟件開發技術分
                  Is it possible for XHR HEAD requests to not follow redirects (301 302)(XHR HEAD 請求是否有可能不遵循重定向 (301 302))
                  XMLHttpRequest 206 Partial Content(XMLHttpRequest 206 部分內容)
                  Restrictions of XMLHttpRequest#39;s getResponseHeader()?(XMLHttpRequest 的 getResponseHeader() 的限制?)

                      <tfoot id='b75Jh'></tfoot>

                      <small id='b75Jh'></small><noframes id='b75Jh'>

                    1. <i id='b75Jh'><tr id='b75Jh'><dt id='b75Jh'><q id='b75Jh'><span id='b75Jh'><b id='b75Jh'><form id='b75Jh'><ins id='b75Jh'></ins><ul id='b75Jh'></ul><sub id='b75Jh'></sub></form><legend id='b75Jh'></legend><bdo id='b75Jh'><pre id='b75Jh'><center id='b75Jh'></center></pre></bdo></b><th id='b75Jh'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='b75Jh'><tfoot id='b75Jh'></tfoot><dl id='b75Jh'><fieldset id='b75Jh'></fieldset></dl></div>
                      • <bdo id='b75Jh'></bdo><ul id='b75Jh'></ul>
                          <tbody id='b75Jh'></tbody>

                            <legend id='b75Jh'><style id='b75Jh'><dir id='b75Jh'><q id='b75Jh'></q></dir></style></legend>
                            主站蜘蛛池模板: 在线观看av中文字幕 | 午夜影院在线观看免费 | 草草影院ccyy| 国内久久精品 | 日韩色图视频 | 一区日韩 | 中文字幕1区 | 久久久久久电影 | 中文字幕一区在线观看视频 | 日本不卡一区 | 黄色免费网址大全 | 国产丝袜人妖cd露出 | 91婷婷韩国欧美一区二区 | 亚洲二区在线 | 最新日韩在线视频 | 久久国产日本 | 四虎成人免费视频 | 久久国产精品色av免费观看 | 91亚洲国产精品 | 青青久在线视频 | 亚洲一区国产 | 国产在线精品一区二区 | 欧美日韩1区2区3区 欧美久久一区 | 久久国产福利 | 成人亚洲视频 | 免费观看成人鲁鲁鲁鲁鲁视频 | 日韩中文字幕免费在线观看 | 国产乱码精品一区二区三区中文 | 中文字幕在线观看av | 爱高潮www亚洲精品 中文字幕免费视频 | 在线视频a | 亚洲国产精品一区二区三区 | 三级免费 | 特黄色一级毛片 | 亚洲成av人片在线观看 | 黑人精品欧美一区二区蜜桃 | 成人免费观看男女羞羞视频 | 黄久久久| 日韩视频在线免费观看 | 国产福利资源在线 | 久久综合伊人 |