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

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

      <legend id='ZCgg6'><style id='ZCgg6'><dir id='ZCgg6'><q id='ZCgg6'></q></dir></style></legend>

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

        • <bdo id='ZCgg6'></bdo><ul id='ZCgg6'></ul>
        <tfoot id='ZCgg6'></tfoot>
      1. 使用預期條件時未定義的屬性“綁定"

        undefined property #39;bind#39; when using expected conditions(使用預期條件時未定義的屬性“綁定)
          <tbody id='lOy1g'></tbody>
          <bdo id='lOy1g'></bdo><ul id='lOy1g'></ul>

          • <tfoot id='lOy1g'></tfoot>

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

                • <legend id='lOy1g'><style id='lOy1g'><dir id='lOy1g'><q id='lOy1g'></q></dir></style></legend>

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

                  本文介紹了使用預期條件時未定義的屬性“綁定"的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在嘗試使用預期條件函數讓量角器在繼續之前等待頁面上存在項目.

                  http://angular.github.io/protractor/#/api?view=ExpectedConditions

                  我已按照文檔中的示例進行操作,但收到有關未定義屬性的錯誤.

                  這似乎是使用任何預期條件時的情況,而不僅僅是與我在這里使用的 presentOf 函數有關:

                  var EC = protractor.ExpectedConditionsvar pixel = element.all(by.repeater('item in items'))var pixelLoaded = EC.presenceOf(pixels)browser.wait(pixelsLoaded,10000)

                  <塊引用>

                  失敗:無法讀取未定義的屬性綁定"堆:TypeError:無法讀取未定義的屬性綁定"在 [object Object].ExpectedConditions.presenceOf (/foo/bar/node_modules/gulp-protractor/node_modules/protractor/lib/expectedConditions.js:233:33)在環境.(/foo/bar/app/features/pixelmanager/test/pixelManagerPOTest.js:48:31)在/foo/bar/node_modules/gulp-protractor/node_modules/protractor/node_modules/jasminewd2/index.js:95:14在 [object Object].promise.ControlFlow.runInFrame_ (/foo/bar/node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1877:20)在 [object Object].promise.ControlFlow.runEventLoop_ (/foo/bar/node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1755:8)在 [對象對象].(/foo/bar/node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:2056:12)在 goog.async.run.processWorkQueue (/foo/bar/node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/async/run.js:125:21)在 runMicrotasksCallback (node.js:337:7)在 process._tickCallback (node.js:355:11)來自:任務:在控制流中運行在對象.(/foo/bar/node_modules/gulp-protractor/node_modules/protractor/node_modules/jasminewd2/index.js:94:33)==== 異步任務 ====錯誤在套房.(/foo/bar/app/features/pixelmanager/test/pixelManagerPOTest.js:44:5)在對象.(/foo/bar/app/features/pixelmanager/test/pixelManagerPOTest.js:9:1)在 Module._compile (module.js:460:26)在 Object.Module._extensions..js (module.js:478:10)在 Module.load (module.js:355:32)在 Function.Module._load (module.js:310:12)

                  解決方案

                  通過移除對 all 的不當調用來修復:

                  var 像素 = element(by.repeater('item in items'));

                  I'm trying to use the expected conditions function to make protractor wait for the presence of items on a page before continuing.

                  http://angular.github.io/protractor/#/api?view=ExpectedConditions

                  I have followed the example in the docs, but I am getting an error about an undefined property.

                  This seems to be the case when using any expected condition, not just related to the presenceOf function I am using here:

                  var EC = protractor.ExpectedConditions
                  var pixels = element.all(by.repeater('item in items'))
                  var pixelsLoaded = EC.presenceOf(pixels)
                  
                  browser.wait(pixelsLoaded,10000)
                  

                  Failed: Cannot read property 'bind' of undefined Stack: TypeError: Cannot read property 'bind' of undefined at [object Object].ExpectedConditions.presenceOf (/foo/bar/node_modules/gulp-protractor/node_modules/protractor/lib/expectedConditions.js:233:33) at Env. (/foo/bar/app/features/pixelmanager/test/pixelManagerPOTest.js:48:31) at /foo/bar/node_modules/gulp-protractor/node_modules/protractor/node_modules/jasminewd2/index.js:95:14 at [object Object].promise.ControlFlow.runInFrame_ (/foo/bar/node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1877:20) at [object Object].promise.ControlFlow.runEventLoop_ (/foo/bar/node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1755:8) at [object Object]. (/foo/bar/node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:2056:12) at goog.async.run.processWorkQueue (/foo/bar/node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/async/run.js:125:21) at runMicrotasksCallback (node.js:337:7) at process._tickCallback (node.js:355:11) From: Task: Run it in control flow at Object. (/foo/bar/node_modules/gulp-protractor/node_modules/protractor/node_modules/jasminewd2/index.js:94:33) ==== async task ==== Error at Suite. (/foo/bar/app/features/pixelmanager/test/pixelManagerPOTest.js:44:5) at Object. (/foo/bar/app/features/pixelmanager/test/pixelManagerPOTest.js:9:1) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12)

                  解決方案

                  Fixed by removing the improper call to all:

                  var pixels = element(by.repeater('item in items'));
                  

                  這篇關于使用預期條件時未定義的屬性“綁定"的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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() 的限制?)
                    <bdo id='hWTmC'></bdo><ul id='hWTmC'></ul>

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

                        <tbody id='hWTmC'></tbody>
                    • <legend id='hWTmC'><style id='hWTmC'><dir id='hWTmC'><q id='hWTmC'></q></dir></style></legend>
                    • <tfoot id='hWTmC'></tfoot>

                          1. 主站蜘蛛池模板: 中文字幕一区二区视频 | 日韩精品网站 | 午夜精品久久久久久久久久久久久 | 精品欧美一区二区精品久久久 | 国产在线精品一区二区三区 | 国产精品区二区三区日本 | 99精品国产一区二区青青牛奶 | 91精品国产一区二区三区 | 欧美电影免费网站 | 亚洲综合大片69999 | 精品欧美一区二区三区久久久 | 91综合网 | 欧美日韩综合 | 亚洲综合大片69999 | 日韩免费视频一区二区 | 久久成人午夜 | 国产精品久久久久久高潮 | 免费福利视频一区二区三区 | 日韩色综合 | 日韩高清中文字幕 | 日韩乱码一二三 | 国产中文字幕网 | 亚洲一区二区在线视频 | 欧美在线天堂 | 国产精品国产三级国产aⅴ原创 | 美国一级毛片a | 成年人网站在线观看视频 | 欧美一区二区另类 | 91直接看| 正在播放国产精品 | 亚洲国产一区二区在线 | 99精品国产一区二区青青牛奶 | 午夜精品一区二区三区免费视频 | 久久久久99 | 日韩国产一区 | 亚洲性综合网 | 亚洲欧美在线观看视频 | 久久久久久久国产 | av网站观看| 在线免费观看a级片 | 欧美成人免费在线视频 |