久久久久久久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>
                            主站蜘蛛池模板: 国产精品久久国产精品 | 久久国产欧美日韩精品 | 精品国产一区二区国模嫣然 | 久久国产精品72免费观看 | 欧美成人a∨高清免费观看 老司机午夜性大片 | 国产一区二区三区四区三区四 | 国产91在线 | 亚洲 | 日韩成人免费视频 | 91国内外精品自在线播放 | 一本在线 | 一区二区三区四区免费视频 | 亚洲日本免费 | 黄色片网站在线观看 | 免费成人在线网站 | 国产婷婷色一区二区三区 | 欧美激情一区二区三级高清视频 | 国产精品s色 | 国产精品99久久久久久久久久久久 | 欧美国产日韩在线观看 | 日本一区二区三区四区 | 久久久久久国产精品免费免费男同 | 精品国产欧美 | www亚洲精品 | 婷婷在线视频 | 一区二区三区四区在线 | 在线91 | 免费精品| 99久久精品国产一区二区三区 | 在线激情视频 | 国产高清在线精品 | 国产一区二区三区免费 | 国产免费观看久久黄av片涩av | 夜夜夜夜夜夜曰天天天 | www.成人免费视频 | 蜜桃视频一区二区三区 | 国产免费一区 | 亚洲看片 | 高清国产一区二区 | 黄色骚片 | 亚洲国产成人精品女人久久久 | 欧美一区二区三区在线观看视频 |