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

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

    <legend id='gHHeC'><style id='gHHeC'><dir id='gHHeC'><q id='gHHeC'></q></dir></style></legend>
    1. <tfoot id='gHHeC'></tfoot>

      • <bdo id='gHHeC'></bdo><ul id='gHHeC'></ul>

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

      1. 我如何在 e2e 測試 Angular Protractor 的標(biāo)簽中添加文

        How i add text in a tag in e2e testing Angular Protractor(我如何在 e2e 測試 Angular Protractor 的標(biāo)簽中添加文本)
        <i id='2vrGR'><tr id='2vrGR'><dt id='2vrGR'><q id='2vrGR'><span id='2vrGR'><b id='2vrGR'><form id='2vrGR'><ins id='2vrGR'></ins><ul id='2vrGR'></ul><sub id='2vrGR'></sub></form><legend id='2vrGR'></legend><bdo id='2vrGR'><pre id='2vrGR'><center id='2vrGR'></center></pre></bdo></b><th id='2vrGR'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='2vrGR'><tfoot id='2vrGR'></tfoot><dl id='2vrGR'><fieldset id='2vrGR'></fieldset></dl></div>

            <tbody id='2vrGR'></tbody>
          <tfoot id='2vrGR'></tfoot>
        1. <legend id='2vrGR'><style id='2vrGR'><dir id='2vrGR'><q id='2vrGR'></q></dir></style></legend>

              • <small id='2vrGR'></small><noframes id='2vrGR'>

                  <bdo id='2vrGR'></bdo><ul id='2vrGR'></ul>
                • 本文介紹了我如何在 e2e 測試 Angular Protractor 的標(biāo)簽中添加文本的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我如何在

                  標(biāo)簽中添加內(nèi)容以在量角器中進行 e2e 測試

                  how i add content in

                  tag for e2e testing in protractor

                  <html lang="en" dir="ltr">
                   <head>
                    <body class="cke_editable cke_editable_themed cke_contents_ltr cke_show_borders" contenteditable="true" spellcheck="true">
                     <p>
                       <br type="_moz">
                     </p>
                   </body>
                  </html>
                  

                  我試試這個,但這不起作用

                  i try this but this is not working

                  var p = element(by.css('.cke_editable p'));
                  p.sendKeys('This is a peragraph tag');
                  

                  推薦答案

                  首先,在這種情況下,它是可編輯的主體 - 向它發(fā)送密鑰:

                  First of all, it is the body that's editable in this case - send keys to it:

                  var body = element(by.css('body.cke_editable'));
                  body.sendKeys('This is a paragraph tag');
                  

                  一個更大的問題是,因為這是一個 CKeditor - 它通常嵌入在 iframe 中.這對我們來說實際上很重要——我們需要讓 webdriver 知道我們想要 切換到iframe的上下文:

                  A bigger problem though is that, since this is a CKeditor - it's usually embedded in an iframe. This is actually important for us - we need to let the webdriver know that we want to switch into the context of the iframe:

                  browser.switchTo().frame(element(by.css("iframe.cke_wysiwyg_frame")));
                  
                  var body = element(by.css('body.cke_editable'));
                  body.sendKeys('This is a paragraph tag');
                  

                  這篇關(guān)于我如何在 e2e 測試 Angular Protractor 的標(biāo)簽中添加文本的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  Browser waits for ajax call to complete even after abort has been called (jQuery)(即使在調(diào)用 abort (jQuery) 之后,瀏覽器也會等待 ajax 調(diào)用完成)
                  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標(biāo)頭) - IT屋-程序員軟件開發(fā)技術(shù)分
                  Is it possible for XHR HEAD requests to not follow redirects (301 302)(XHR HEAD 請求是否有可能不遵循重定向 (301 302))
                  XMLHttpRequest 206 Partial Content(XMLHttpRequest 206 部分內(nèi)容)
                  Restrictions of XMLHttpRequest#39;s getResponseHeader()?(XMLHttpRequest 的 getResponseHeader() 的限制?)
                    <tbody id='HeGzZ'></tbody>

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

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

                            <legend id='HeGzZ'><style id='HeGzZ'><dir id='HeGzZ'><q id='HeGzZ'></q></dir></style></legend>
                            主站蜘蛛池模板: 国产在线观看网站 | 成年免费在线观看 | 久久成人精品一区二区三区 | 欧美日韩视频 | 久久久亚洲成人 | 五月婷婷激情 | 欧洲一区二区三区 | 亚洲欧美一区二区三区国产精品 | 免费观看日韩av | 午夜在线免费观看 | 中文字幕在线观看一区 | 国产中文字幕av | 欧美一级二级视频 | xx性欧美肥妇精品久久久久久 | 欧美久久一区二区三区 | 久久精品免费 | 在线观看www视频 | 国产精品成人国产乱一区 | 激情网五月天 | 久久久99国产精品免费 | 91色综合| 亚洲欧美一区二区三区国产精品 | 一二三四在线视频观看社区 | 日韩视频福利 | 亚洲国产欧美一区 | 成人免费视频一区 | 97色综合| 国产精品久久久久久久免费大片 | 日韩欧美一级片 | 97超碰站| 日本又色又爽又黄的大片 | 亚洲欧美视频一区 | 久久中文一区二区 | 午夜私人影院 | 成人亚洲精品久久久久软件 | 亚洲精品免费视频 | 羞羞视频网站 | 日韩精品久久久 | 欧美一级免费 | 欧美日韩亚洲一区二区 | 久草视频观看 |