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

    <tfoot id='z0qZD'></tfoot>
  • <legend id='z0qZD'><style id='z0qZD'><dir id='z0qZD'><q id='z0qZD'></q></dir></style></legend>
      <bdo id='z0qZD'></bdo><ul id='z0qZD'></ul>

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

      1. 量角器“by.css()"vs“$()"美元符號(hào)與“$$(

        Protractor quot;by.css()quot; vs quot;$()quot; Dollar Sign vs quot;$$()quot; #39;Bling Bling#39;(量角器“by.css()vs“$()美元符號(hào)與“$$()亮閃閃)
            • <bdo id='IX4Ll'></bdo><ul id='IX4Ll'></ul>

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

                  <tbody id='IX4Ll'></tbody>

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

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

                  <tfoot id='IX4Ll'></tfoot>
                  本文介紹了量角器“by.css()"vs“$()"美元符號(hào)與“$$()"'亮閃閃'的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  我不太明白 $ 和 $$ 命令的用途.我認(rèn)為它們只是by.css"的替代品,但為什么要使用 $$?

                  I don't really understand what the $ and $$ commands are for. I thought they are just a replacement for 'by.css' but why the $$?

                  <element id = "eId"></element>
                  

                  我認(rèn)為,鑒于上述情況,這些將是等效的:

                  I thought, that given the above, these would be equivalent:

                  element(by.css('#eId'));
                  

                  element($('#eId'));
                  

                  但是,第一個(gè)有效,第二個(gè)無(wú)效.為什么,這三者有什么區(qū)別?

                  However, the first one works and the second doesn't. Why, what's the difference between the three?

                  docs 幫助不大.他們似乎暗示$"僅用于鏈接,例如element(by.css('#eId')).element($('#childId')); 或選擇第一個(gè)元素,然后選擇第一個(gè)元素內(nèi)的第二個(gè)元素."但是,我已經(jīng)看到使用 $ 來(lái)選擇第一個(gè)元素的示例.

                  The docs are of little help. They seem to imply that "$" is for chaining only, e.g. element(by.css('#eId')).element($('#childId')); or "Select the first element, and then select the second element within the first element.' However, I have seen examples with $ being used to select the first element.

                  不管怎樣,這三個(gè)(by.css、$ 和 $$)之間有什么區(qū)別?"的文字很多.

                  Anyway, that's a lot of text for "What are the differences between the three (by.css, $, and $$)?"

                  推薦答案

                  $$$ 只是方便的快捷方式.

                  $ and $$ are just convenient shortcuts.

                  $("selector")element(by.css("selector")) 的替代品.

                  $$("selector")element.all(by.css("selector")) 的替代品.

                  僅供參考,引用自 源代碼:p>

                  FYI, quote from the source code:

                  ElementFinder.prototype.$ = function(selector) {
                    return this.element(webdriver.By.css(selector));
                  };
                  
                  ElementArrayFinder.prototype.$$ = function(selector) {
                    return this.all(webdriver.By.css(selector));
                  };
                  

                  以及最初實(shí)現(xiàn)它的實(shí)際提交.

                  這篇關(guān)于量角器“by.css()"vs“$()"美元符號(hào)與“$$()"'亮閃閃'的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  Browser waits for ajax call to complete even after abort has been called (jQuery)(即使在調(diào)用 abort (jQuery) 之后,瀏覽器也會(huì)等待 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 無(wú)法加載,請(qǐng)求的資源上不存在“Access-Control-Allow-Origin標(biāo)頭) - IT屋-程序員軟件開發(fā)技術(shù)分
                  Is it possible for XHR HEAD requests to not follow redirects (301 302)(XHR HEAD 請(qǐng)求是否有可能不遵循重定向 (301 302))
                  XMLHttpRequest 206 Partial Content(XMLHttpRequest 206 部分內(nèi)容)
                  Restrictions of XMLHttpRequest#39;s getResponseHeader()?(XMLHttpRequest 的 getResponseHeader() 的限制?)
                  <legend id='FDB2W'><style id='FDB2W'><dir id='FDB2W'><q id='FDB2W'></q></dir></style></legend>

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

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

                              <tbody id='FDB2W'></tbody>
                            主站蜘蛛池模板: 日韩精品视频在线 | 美女在线视频一区二区三区 | 四虎影音| 久久久久国产精品午夜一区 | 欧美精品第一区 | av黄色在线观看 | 国产亚洲欧美在线 | 日韩久久久久久 | 一级a性色生活片久久毛片 午夜精品在线观看 | 欧美成人精品一区二区三区 | 免费看欧美一级片 | 激情网五月天 | 国产一区二区三区在线 | 精品一区二区av | 久久久久午夜 | 伊人精品国产 | 81精品国产乱码久久久久久 | 国产精品久久久久久久久久妇女 | 欧美片网站免费 | 91麻豆精品国产91久久久更新资源速度超快 | 91久久久久久久久久久 | 亚洲精品久久久蜜桃网站 | 免费一级片 | 毛片大全| 亚洲国产精品一区在线观看 | 性天堂网 | 精品婷婷| 成人三级视频 | 日韩三片 | 91在线观看| 欧美精品综合在线 | 日韩美av| 欧美综合精品 | 免费一区二区三区 | 夜夜草天天草 | 国产精品欧美一区二区三区不卡 | 仙人掌旅馆在线观看 | 精品欧美一区二区精品久久久 | av毛片在线播放 | 日日摸夜夜爽人人添av | 九九热视频这里只有精品 |