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

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

<tfoot id='MM0m4'></tfoot>

      <bdo id='MM0m4'></bdo><ul id='MM0m4'></ul>
  1. <legend id='MM0m4'><style id='MM0m4'><dir id='MM0m4'><q id='MM0m4'></q></dir></style></legend>

  2. <i id='MM0m4'><tr id='MM0m4'><dt id='MM0m4'><q id='MM0m4'><span id='MM0m4'><b id='MM0m4'><form id='MM0m4'><ins id='MM0m4'></ins><ul id='MM0m4'></ul><sub id='MM0m4'></sub></form><legend id='MM0m4'></legend><bdo id='MM0m4'><pre id='MM0m4'><center id='MM0m4'></center></pre></bdo></b><th id='MM0m4'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='MM0m4'><tfoot id='MM0m4'></tfoot><dl id='MM0m4'><fieldset id='MM0m4'></fieldset></dl></div>
    1. 量角器在 div 中按標簽查找元素

      Protractor find an element by tag inside a div(量角器在 div 中按標簽查找元素)

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

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

              • <bdo id='qWiXD'></bdo><ul id='qWiXD'></ul>
                本文介紹了量角器在 div 中按標簽查找元素的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我在一個 HTML 頁面中有一個 div,它的名稱總是已知的,在這個 div 里面有一個 href,它的細節(jié)是未知的.它可能是父母的直系子女,也可能是進一步的孫子女.看起來像這樣:

                I've got a div in an HTML Page of which the name is always known and inside this div there is an href, the details of which are not known. It could be the direct child of the parent or it could be a further grandchild. Looks something like this:

                <div class="divName">
                    ...
                        <a href="some url">some text</a>
                    ...
                </div>
                

                我知道這個 div 中只有一個鏈接,所以我想找到一個鏈接并單擊它.

                I know that there will only be one link within this div, so I want to find the one link and click it.

                我嘗試了以下方法,但似乎不起作用:

                I've tried the following but it doesn't seem to be working:

                    element(by.classname('divName')).find('a').click();
                

                有什么想法嗎?

                推薦答案

                element(by.css('.divName a')).click();
                

                或者更短的符號:

                $('.divName a').click();
                

                這篇關于量角器在 div 中按標簽查找元素的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權益,請聯(liá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標頭) - IT屋-程序員軟件開發(fā)技術分
                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() 的限制?)
                <i id='XPKAZ'><tr id='XPKAZ'><dt id='XPKAZ'><q id='XPKAZ'><span id='XPKAZ'><b id='XPKAZ'><form id='XPKAZ'><ins id='XPKAZ'></ins><ul id='XPKAZ'></ul><sub id='XPKAZ'></sub></form><legend id='XPKAZ'></legend><bdo id='XPKAZ'><pre id='XPKAZ'><center id='XPKAZ'></center></pre></bdo></b><th id='XPKAZ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='XPKAZ'><tfoot id='XPKAZ'></tfoot><dl id='XPKAZ'><fieldset id='XPKAZ'></fieldset></dl></div>

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

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

                      <tbody id='XPKAZ'></tbody>
                  1. <tfoot id='XPKAZ'></tfoot>

                          <bdo id='XPKAZ'></bdo><ul id='XPKAZ'></ul>

                          主站蜘蛛池模板: 亚洲一区二区在线视频 | 在线国产一区二区 | 久久精品日产第一区二区三区 | 欧美一区二区在线观看 | 成人免费视频网站在线看 | 精品综合| 岛国av一区二区三区 | 99久久99| 亚洲一区二区三区在线播放 | 午夜视频大全 | 黄色欧美在线 | 99热.com | 一区二区成人 | 成人三级视频 | 一区二区日韩 | 国产在线观看一区二区 | 精品国产乱码久久久久久丨区2区 | 精品毛片视频 | 亚洲激情视频在线 | 国产99久久久国产精品 | 一区二区免费看 | 一区二区三区视频在线免费观看 | 久久成人一区 | 国产一区二区精品在线 | 国产yw851.c免费观看网站 | 久久久激情 | 成人激情视频免费观看 | 日韩一级免费电影 | 国内精品视频免费观看 | 久久精品影视 | 亚洲国产高清高潮精品美女 | 久久久黄色 | 在线观看亚洲一区二区 | 在线视频国产一区 | 欧美一区不卡 | 日韩一区二区三区在线 | 欧洲亚洲一区 | 在线观看精品 | 亚州无限乱码 | 成人欧美| 日韩av免费看 |