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

    <bdo id='tTKdI'></bdo><ul id='tTKdI'></ul>
<tfoot id='tTKdI'></tfoot>

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

  2. <small id='tTKdI'></small><noframes id='tTKdI'>

      如何訪問量角器測試的 chromedriver 日志

      How to access chromedriver logs for Protractor test(如何訪問量角器測試的 chromedriver 日志)
      • <bdo id='Izoxi'></bdo><ul id='Izoxi'></ul>
      • <legend id='Izoxi'><style id='Izoxi'><dir id='Izoxi'><q id='Izoxi'></q></dir></style></legend>

          <tfoot id='Izoxi'></tfoot>

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

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

              <tbody id='Izoxi'></tbody>
              1. 本文介紹了如何訪問量角器測試的 chromedriver 日志的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                問題描述

                我看到 chromedriver 可以輸出一個(gè)日志文件(https://sites.google.com/a/chromium.org/chromedriver/logging)

                I have seen that chromedriver can output a logfile (https://sites.google.com/a/chromium.org/chromedriver/logging)

                此頁面顯示了如何在直接執(zhí)行 exe 時(shí)進(jìn)行設(shè)置:

                This page shows how to set this up when executing the exe directly:

                chromedriver.exe --verbose --log-path=chromedriver.log

                我不知道如何在 Protractor 中進(jìn)行設(shè)置

                I cannot figure out how to set this up in Protractor however

                我目前的protractor.conf.js

                require('babel/register');
                
                exports.config = {
                    framework: 'jasmine2',
                    seleniumServerJar: './node_modules/protractor/selenium/selenium-server-standalone-2.45.0.jar'
                };
                

                來自 @alecxe 的回答如下和 量角器的瀏覽器設(shè)置文檔 我嘗試添加以下內(nèi)容(有和沒有 --s)但沒有明顯效果:

                From @alecxe's answer below and protractor's browser setup docs I tried adding the following (with and without --s) but with no apparent effect:

                    capabilities: {
                        browserName: "chrome",
                        chromeOptions: {
                            args: [
                                "--verbose",
                                "--log-path=chromedriver.log"
                            ]
                        }
                    }
                

                我還嘗試指定一個(gè)絕對(duì)路徑 (log-path=/chromedriver.log),但也沒有用.

                I also tried specifying an absolute path (log-path=/chromedriver.log) which also didn't work.

                推薦答案

                您始終可以在一個(gè)單獨(dú)的進(jìn)程中啟動(dòng)您自己的 chromedriver 實(shí)例,并告訴 Protractor 連接到該實(shí)例.例如,如果您使用以下命令啟動(dòng) chromedriver:

                You can always start up your own instance of chromedriver in a separate process and tell Protractor to connect to that. For example, if you start chromedriver with:

                chromedriver --port=9515 --verbose --log-path=chromedriver.log

                然后你可以像這樣使用 Protractor 的配置文件:

                Then you could use a configuration file for Protractor like so:

                   exports.config = {
                     seleniumAddress: 'http://localhost:9515',
                     capabilities: {
                       'browserName': 'chrome'
                     },
                     specs: ['example_spec.js'],
                   };
                

                這篇關(guān)于如何訪問量角器測試的 chromedriver 日志的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(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 無法加載,請(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() 的限制?)
                    <tbody id='6hMKR'></tbody>
                  <legend id='6hMKR'><style id='6hMKR'><dir id='6hMKR'><q id='6hMKR'></q></dir></style></legend>

                  • <small id='6hMKR'></small><noframes id='6hMKR'>

                    • <bdo id='6hMKR'></bdo><ul id='6hMKR'></ul>

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

                        1. <tfoot id='6hMKR'></tfoot>
                          主站蜘蛛池模板: 日本久久网 | 成人精品视频在线观看 | 午夜影院在线观看视频 | 天天插天天操 | 国产精品成人一区二区三区 | 国产精品美女久久久久久免费 | 综合一区二区三区 | 国产精品久久久 | 国产福利在线 | 日本在线你懂的 | 成人在线中文字幕 | 精品丝袜在线 | 亚洲欧洲一区二区 | 国产精品色av | 黄a在线观看 | 久久久久久久久久久久久久久久久久久久 | 日韩在线视频一区 | 玖玖视频国产 | 极品的亚洲 | 日韩精品在线看 | 丝袜一区二区三区 | 欧美精品第三页 | www.一级毛片| 免费视频久久久久 | 日韩中文字幕在线观看 | 久久日韩精品一区二区三区 | 欧美 日韩 国产 成人 在线 91 | 国产精品大片 | 日韩中文字幕一区二区 | 久久国产亚洲 | 日韩在线视频网址 | 在线伊人 | 久久精品国内 | 国产一区二区 | 中文字幕av一区二区三区 | 天天av天天好逼 | 国产久| 涩爱av一区二区三区 | 999久久久| 亚洲精品白浆高清久久久久久 | 超碰97免费观看 |