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

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

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

        <legend id='QZRH3'><style id='QZRH3'><dir id='QZRH3'><q id='QZRH3'></q></dir></style></legend>
        <tfoot id='QZRH3'></tfoot>

        有/沒有硒的差異運行量角器?

        Difference running Protractor with/without Selenium?(有/沒有硒的差異運行量角器?)
        <legend id='tysqc'><style id='tysqc'><dir id='tysqc'><q id='tysqc'></q></dir></style></legend>

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

            <tfoot id='tysqc'></tfoot>
              <tbody id='tysqc'></tbody>

                  <bdo id='tysqc'></bdo><ul id='tysqc'></ul>
                • <i id='tysqc'><tr id='tysqc'><dt id='tysqc'><q id='tysqc'><span id='tysqc'><b id='tysqc'><form id='tysqc'><ins id='tysqc'></ins><ul id='tysqc'></ul><sub id='tysqc'></sub></form><legend id='tysqc'></legend><bdo id='tysqc'><pre id='tysqc'><center id='tysqc'></center></pre></bdo></b><th id='tysqc'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='tysqc'><tfoot id='tysqc'></tfoot><dl id='tysqc'><fieldset id='tysqc'></fieldset></dl></div>
                  本文介紹了有/沒有硒的差異運行量角器?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  檢查量角器文檔,我看到有一個運行選項量角器不使用 Selenium 服務器使用 directConnect: true 標志.

                  Checking the protractor documentation, I see there is a option to run protractor without using Selenium server using directConnect: true flag.

                  使用 selenium 服務器和不使用 selenium 服務器運行量角器測試有什么區(qū)別,除了后者只支持 Chrome、Firefox 之外?

                  What is the difference between running protractor tests with a selenium server and without a selenium server other than the fact that only Chrome, Firefox are supported for the latter case?

                  推薦答案

                  首先,目前你有 5 種不同的內(nèi)置選項/連接瀏覽器驅(qū)動程序的方式:

                  First of all, currently, you have 5 different built-in options/ways to connect to browser drivers:

                  1. 指定 seleniumServerJar 在本地啟動 selenium 獨立服務器
                  2. 指定 seleniumAddress 以連接到正在運行的 selenium 服務器(本地或遠程)
                  3. 設置 sauceUsersauceKey 以連接到 Sauce Labs 遠程 selenium 服務器
                  4. 設置 browserstackUserbrowserstackKey 以通過 BrowserStack 使用遠程 Selenium 服務器
                  5. 使用 directConnect 直接連接到 Chrome 或 Firefox.還有其他 chromeDriverfirefoxPath 設置可用于定義自定義 Chrome 驅(qū)動程序和 Firefox 應用程序二進制位置.
                  1. specify seleniumServerJar to start selenium standalone server locally
                  2. specify seleniumAddress to connect to a running selenium server (local or remote)
                  3. set sauceUser and sauceKey to connect to Sauce Labs remote selenium server
                  4. set browserstackUser and browserstackKey to use remote Selenium Servers via BrowserStack
                  5. use directConnect to connect to Chrome or Firefox directly. There are additional chromeDriver and firefoxPath setting that you can use to define custom Chrome driver and Firefox application binary locations.

                  前 4 個選項基本上通過代理",即 selenium 服務器工作:

                  The first 4 options basically work through a "proxy", a selenium server:

                  服務器充當測試腳本之間的代理(使用WebDriver API)和瀏覽器驅(qū)動程序(由 WebDriver 控制協(xié)議).服務器將命令從您的腳本轉(zhuǎn)發(fā)到驅(qū)動程序并將驅(qū)動程序的響應返回到您的腳本.

                  The server acts as proxy between your test script (written with the WebDriver API) and the browser driver (controlled by the WebDriver protocols). The server forwards commands from your script to the driver and returns responses from the driver to your script.

                  通過中間 selenium 服務器而不是直接 webdriver 連接來自動化瀏覽器的主要原因是 selenium 服務器,如果充當 Selenium Grid,允許您跨多個瀏覽器、多個系統(tǒng)上的多個瀏覽器擴展/擴展您的測試,例如,請參閱 Sauce Labs Selenium Grid.僅供參考,還有 BrowserStack 服務,除了其他功能外,它還充當一個 selenium 服務器,與 Sauce Labs 類似,具有大量不同的功能/配置 - 瀏覽器和系統(tǒng).

                  The main reason to automate browsers through an intermediate selenium server as opposed to direct webdriver connect is that selenium server, if acts as a Selenium Grid, allows you to expand/scale your tests across multiple browsers, multiple browsers on multiple systems, see, for instance, Sauce Labs Selenium Grid. FYI, there is also BrowserStack service, that, apart of other features, acts as a selenium server with, similarly to Sauce Labs, enormous amount of different capabilities/configurations - browsers and systems.

                  啟動 selenium 服務器(談到選項 2)而不使用 directConnect 的另一個用例是,您可能具有希望運行測試的特定配置.假設您有一臺裝有 IE 11 的 Windows 機器和裝有 Firefox 35 的 Ubuntu.在這種情況下,您可以將這些機器配置為 selenium 節(jié)點,這些節(jié)點將連接到 selenium 服務器/集線器.

                  The other use case of starting up a selenium server (speaking about option 2) and not using directConnect is that you may have a specific configuration(s) you want your tests to run on. Say, you have a Windows machine with IE 11 on board and Ubuntu with Firefox 35. In this case, you may configure these machines as selenium nodes which would connect to a selenium server/hub.

                  如果您在本地運行測試并且目標瀏覽器是 Chrome 或/和 Firefox,請使用 directConnect,您的測試會運行得更快.

                  If you are running your tests locally and your target browsers are Chrome or/and Firefox, use directConnect, your tests would run faster.

                  但是,如果您在本地運行測試并且需要針對 IE、Safari 或其他瀏覽器進行測試,您會使用選項 1-4(通常為 1),因為這些瀏覽器無法在直接連接"模式下工作.

                  But, if you are running your tests locally and need to test against IE, Safari or other browsers, you'd go with options 1-4 (usually 1), since these browsers cannot work in "direct connect" mode.

                  另請參閱相關(guān)主題:

                  • Selenium"有什么區(qū)別-server-standalone.jar' 和 'Selenium Client &WebDriver'?
                  • selenium server"之間的區(qū)別和獨立硒服務器"罐子

                  這篇關(guān)于有/沒有硒的差異運行量角器?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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標頭) - 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() 的限制?)

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

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

                        <tbody id='Bm2RA'></tbody>
                      <tfoot id='Bm2RA'></tfoot>

                          <legend id='Bm2RA'><style id='Bm2RA'><dir id='Bm2RA'><q id='Bm2RA'></q></dir></style></legend>
                          • <i id='Bm2RA'><tr id='Bm2RA'><dt id='Bm2RA'><q id='Bm2RA'><span id='Bm2RA'><b id='Bm2RA'><form id='Bm2RA'><ins id='Bm2RA'></ins><ul id='Bm2RA'></ul><sub id='Bm2RA'></sub></form><legend id='Bm2RA'></legend><bdo id='Bm2RA'><pre id='Bm2RA'><center id='Bm2RA'></center></pre></bdo></b><th id='Bm2RA'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Bm2RA'><tfoot id='Bm2RA'></tfoot><dl id='Bm2RA'><fieldset id='Bm2RA'></fieldset></dl></div>
                            主站蜘蛛池模板: 欧美一级在线免费观看 | 午夜av在线 | 伊人精品久久久久77777 | 国产 日韩 欧美 中文 在线播放 | 精品国产一区一区二区三亚瑟 | 国产wwwcom | 狠狠操电影 | 西西裸体做爰视频 | 在线看亚洲 | 久久天天躁狠狠躁夜夜躁2014 | 久色一区 | 国产精品成人在线观看 | 国产一区二区三区视频 | 久久久蜜臀国产一区二区 | 欧美理论在线观看 | 男女av| 日韩天堂av | 日韩一区二区三区四区五区六区 | 99视频在线看 | 超碰欧美 | 亚洲精品黄 | 超碰在线人人 | 国产在线精品一区二区三区 | 影音先锋欧美资源 | 日韩高清在线 | 一区二区三区视频免费看 | 亚洲欧美一区二区三区视频 | www.四虎.com| 日韩国产一区二区三区 | 久久精品一级 | 国产日韩精品一区 | 亚洲最新网址 | 国产精品毛片无码 | 亚洲国产免费 | 日本久草 | 日韩视频在线观看一区二区 | 国产精品一区在线播放 | 福利在线观看 | 亚洲视频在线观看一区二区三区 | 亚洲成人福利在线观看 | 黄网站涩免费蜜桃网站 |