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

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

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

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

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

      <tfoot id='ijfWC'></tfoot>

      1. ChromeDriver:自定義 Chrome 可執行文件路徑

        ChromeDriver: Custom Chrome Executable Path(ChromeDriver:自定義 Chrome 可執行文件路徑)

      2. <legend id='pLprS'><style id='pLprS'><dir id='pLprS'><q id='pLprS'></q></dir></style></legend>

          <tfoot id='pLprS'></tfoot>

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

                <tbody id='pLprS'></tbody>

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

              • <i id='pLprS'><tr id='pLprS'><dt id='pLprS'><q id='pLprS'><span id='pLprS'><b id='pLprS'><form id='pLprS'><ins id='pLprS'></ins><ul id='pLprS'></ul><sub id='pLprS'></sub></form><legend id='pLprS'></legend><bdo id='pLprS'><pre id='pLprS'><center id='pLprS'></center></pre></bdo></b><th id='pLprS'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='pLprS'><tfoot id='pLprS'></tfoot><dl id='pLprS'><fieldset id='pLprS'></fieldset></dl></div>
                  本文介紹了ChromeDriver:自定義 Chrome 可執行文件路徑的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我使用的是便攜版的谷歌瀏覽器.

                  I'm using the portable version of Google Chrome.

                  由于 WebDriver 需要默認安??裝路徑,它沒有找到明顯在另一個位置的便攜式:

                  Since WebDriver expects the default installation path, it does not find the portable one which obviously is at another location:

                  Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: cannot find Chrome binary
                    (Driver info: chromedriver=2.9.248315,platform=Windows NT 6.1 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
                  Command duration or timeout: 11.13 seconds
                  Build info: version: '2.35.0', revision: '8df0c6b', time: '2013-08-12 15:43:19'
                  System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_05'
                  Driver info: org.openqa.selenium.chrome.ChromeDriver
                  

                  如何設置 chrome.exe 文件的自定義路徑?

                  How do I set a custom path to the chrome.exe file?

                  推薦答案

                  沒關系,我自己找到了答案:

                  Nevermind, I found the answer myself:

                  ChromeOptions options = new ChromeOptions();
                  options.setBinary("/path/to/chrome/binary");
                  
                  ChromeDriver driver = new ChromeDriver(options);
                  

                  Chromedriver 文檔

                  這篇關于ChromeDriver:自定義 Chrome 可執行文件路徑的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  How can I detect integer overflow on 32 bits int?(如何檢測 32 位 int 上的整數溢出?)
                  Local variables before return statements, does it matter?(return 語句之前的局部變量,這有關系嗎?)
                  How to convert Integer to int?(如何將整數轉換為整數?)
                  How do I create an int array with randomly shuffled numbers in a given range(如何在給定范圍內創建一個隨機打亂數字的 int 數組)
                  Inconsistent behavior on java#39;s ==(java的行為不一致==)
                  Why is Java able to store 0xff000000 as an int?(為什么 Java 能夠將 0xff000000 存儲為 int?)
                  • <bdo id='DYhyD'></bdo><ul id='DYhyD'></ul>
                  • <small id='DYhyD'></small><noframes id='DYhyD'>

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

                            <legend id='DYhyD'><style id='DYhyD'><dir id='DYhyD'><q id='DYhyD'></q></dir></style></legend>
                            <i id='DYhyD'><tr id='DYhyD'><dt id='DYhyD'><q id='DYhyD'><span id='DYhyD'><b id='DYhyD'><form id='DYhyD'><ins id='DYhyD'></ins><ul id='DYhyD'></ul><sub id='DYhyD'></sub></form><legend id='DYhyD'></legend><bdo id='DYhyD'><pre id='DYhyD'><center id='DYhyD'></center></pre></bdo></b><th id='DYhyD'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='DYhyD'><tfoot id='DYhyD'></tfoot><dl id='DYhyD'><fieldset id='DYhyD'></fieldset></dl></div>
                            主站蜘蛛池模板: 日韩精品一区二区三区四区 | 在线免费观看日本视频 | 欧美亚洲另类在线 | 国产午夜久久久 | 成人欧美一区二区三区在线观看 | 99精品在线 | 精品国产一区二区 | 亚洲日产精品 | 欧美综合一区二区三区 | 欧美一级小视频 | 国产日韩欧美精品一区二区 | 性欧美hd| 91视频88av| 日韩久久久久久久久久久 | www.yw193.com| www.久| 91久久精品| 超碰在线人人干 | 欧美激情一区二区三区 | 免费一区| 国产男人的天堂 | 日本精品一区二区 | 久热精品在线 | 日本精品一区二区三区在线观看视频 | 中文字幕第90页 | 国产一区二区精品自拍 | 日韩靠逼| a级片在线 | 国产成人精品区一区二区不卡 | 亚洲精品视频在线看 | 天天干天天谢 | 久久精品高清视频 | 羞羞视频免费在线 | 亚洲欧美日韩久久 | 久久国产香蕉 | av一区二区三区四区 | 麻豆毛片 | 中文字幕在线国产 | 亚洲h在线观看 | 日本在线观看视频 | 欧美精品一区二区三区蜜桃视频 |