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

  • <small id='hIsMU'></small><noframes id='hIsMU'>

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

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

        • <bdo id='hIsMU'></bdo><ul id='hIsMU'></ul>
      1. <tfoot id='hIsMU'></tfoot>

        如何配置量角器 (JS) 以在 Microsoft Edge 中運行測試

        How to configure Protractor (JS) for running tests in Microsoft Edge?(如何配置量角器 (JS) 以在 Microsoft Edge 中運行測試?)
      2. <small id='XKX7I'></small><noframes id='XKX7I'>

      3. <legend id='XKX7I'><style id='XKX7I'><dir id='XKX7I'><q id='XKX7I'></q></dir></style></legend>

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

          <tbody id='XKX7I'></tbody>

            • <bdo id='XKX7I'></bdo><ul id='XKX7I'></ul>
              1. <tfoot id='XKX7I'></tfoot>
                • 本文介紹了如何配置量角器 (JS) 以在 Microsoft Edge 中運行測試?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我想將我的 protractor.conf.js 設置為在 Edge 而不是 Chrome 中運行測試.設置這個

                  I want to set my protractor.conf.js to run tests in Edge instead of in Chrome. Setting this

                  capabilities: {
                      'browserName': 'MicrosoftEdge'
                  }
                  

                  導致 SessionNotCreatedError: Unable to create new service: EdgeDriverService 錯誤代碼為 199.我從 Microsoft 的網站,但我不知道如何告訴 Protractor 在哪里可以找到該驅動程序.我嘗試將它添加到我的用戶路徑、系統路徑、量角器節(jié)點模塊文件夾中的 selenium 文件夾,并給出 jvmArgs:seleniumArgs:['-Dwebdriver.edge.driver="<path-to-driver"'],但我仍然得到那個 SessionNotCreatedError.

                  results in SessionNotCreatedError: Unable to create new service: EdgeDriverService with an error code of 199. I downloaded the MicrosoftWebDriver.exe for the version of Edge that I have from Microsoft's website, but I can't figure out how to tell Protractor where to find that driver. I've tried adding it to my user path, my system path, the selenium folder in protractor's node modules folder, and giving a jvmArgs: or seleniumArgs: of ['-Dwebdriver.edge.driver="<path-to-driver"'], but I still get that SessionNotCreatedError.

                  我只編寫純 JavaScript,而不是 Java 或 C#,我希望將所有這些設置為 protractor.conf.js 文件中的屬性,而不是在實際的測試文件中設置任何內容.我擁有最新版本的 Node,并且確保在運行 ng e2e 時關閉 Edge.我需要更改或添加什么到我的配置文件才能讓它運行?

                  I'm only writing pure JavaScript, no Java or C#, and I want all of this to be set as attributes in the protractor.conf.js file, nothing set in the actual file of tests. I have the most recent version of Node, and I'm making sure to have Edge closed when running ng e2e. What do I need to change or add to my config file to get this to run?

                  從 這個 github 問題,我添加了 seleniumAddress: http://127.0.01:17556/ 到我的配置文件,但現在我收到 ECONNREFUSED 127.0.0.1:17556 錯誤,錯誤代碼為 135.我從以下地址之一獲得該地址關于該 github 問題的評論,但無論手動啟動 Edge 驅動程序還是僅運行 ng e2e --config <path-to-config>,我都會收到相同的錯誤.

                  From this github issue, I added seleniumAddress: http://127.0.01:17556/ to my config file, but now I'm getting an ECONNREFUSED 127.0.0.1:17556 error with error code 135. I got that address from one of the comments on that github issue, but I get the same error regardless of starting the Edge driver manually or just running ng e2e --config <path-to-config>.

                  解決方案
                  seleniumAddress: 'http://localhost:4444/wd/hub' 添加到配置文件中.使用 webdriver-manager start --edge "MicrosoftWebDriver.exe" 手動運行邊緣驅動程序,然后在另一個窗口中運行 ng e2e.非常感謝 HaC 提供的解決方案!

                  SOLUTION
                  Add seleniumAddress: 'http://localhost:4444/wd/hub' to the config file. Run the edge driver manually with webdriver-manager start --edge "<path-to-driver>MicrosoftWebDriver.exe", and then run ng e2e in another window. Thank you so much to HaC for this solution!

                  推薦答案

                  參考:https://github.com/angular/protractor/issues/2377

                  1. 下載并安裝 Edge 驅動
                  2. 運行 webdriver-manager start --edge "C:path_to_the_driverMicrosoftWebDriver.exe" .默認情況下,這將在端口 4444 上啟動您的 selenium 服務器,該端口應該對您開放.
                  3. 在量角器配置文件中:添加 seleniumAddress: 'http://localhost:4444/wd/hub'
                  1. Download and install Edge driver
                  2. Run webdriver-manager start --edge "C:path_to_the_driverMicrosoftWebDriver.exe" . By default this will start your selenium server on port 4444 which should be open to you.
                  3. In your protractor config file: add seleniumAddress: 'http://localhost:4444/wd/hub'

                  這篇關于如何配置量角器 (JS) 以在 Microsoft Edge 中運行測試?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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屋-程序員軟件開發(fā)技術分
                  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='aF5gF'></bdo><ul id='aF5gF'></ul>

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

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

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

                          2. 主站蜘蛛池模板: 亚洲精品国产偷自在线观看 | 久久亚洲一区二区 | 国产第1页 | 欧美 日韩 中文 | 亚洲精品9999 | 亚洲二区在线 | 在线日韩av电影 | 国产精品久久久久久久岛一牛影视 | 国产精品久久久久久久久久 | 羞羞视频在线观看网站 | www.色婷婷 | 国产精品免费观看视频 | 国产一区二区在线播放 | 日韩欧美一级精品久久 | 日韩图区| 亚洲天堂av一区 | 色999日韩| 国产精品久久av | 日韩一区三区 | 一级毛片观看 | 欧美一级免费 | 久久爆操 | 国产精品久久久久久模特 | 久久综合久 | 国产成人在线一区二区 | www.日韩| 91婷婷韩国欧美一区二区 | 99久久国产免费 | 精品视频在线观看 | 不卡的av一区 | 奇米四色在线观看 | 日韩免费看视频 | 久久免费精品 | 欧美炮房 | 国产高清精品网站 | 久久久久一区二区三区四区 | 天天插天天操 | 日本精品久久久一区二区三区 | www午夜视频 | 精品国产一区二区国模嫣然 | 成人二区 |