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

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

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

    <legend id='wHDjn'><style id='wHDjn'><dir id='wHDjn'><q id='wHDjn'></q></dir></style></legend>

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

        Selenium - chrome 驅動程序無法在后臺啟動(沒有啟動

        Selenium - chrome Driver fail to start in background (without a start-up window)(Selenium - chrome 驅動程序無法在后臺啟動(沒有啟動窗口))

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

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

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

              1. <small id='FsVcE'></small><noframes id='FsVcE'>

                  本文介紹了Selenium - chrome 驅動程序無法在后臺啟動(沒有啟動窗口)的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在使用 Selenium 并嘗試初始化 Chrome 驅動程序以在沒有啟動窗口的情況下啟動.

                  I am using Selenium and trying to initialize the Chrome driver to start without a start up window.

                  ChromeOptions options= new ChromeOptions();
                  options.addArguments("--no-startup-window");
                  //I tried this line also: options.addArguments("--silent-launch");
                  DesiredCapabilities capabilities = DesiredCapabilities.chrome();
                  capabilities.setCapability(ChromeOptions.CAPABILITY, options);
                  WebDriver driver = new ChromeDriver(Capabilities);
                  

                  我收到以下異常:

                  未知錯誤:Chrome 無法啟動:正常退出

                  Unknown error: Chrome failed to start: exited normally

                  誰能幫幫我?

                  推薦答案

                  你需要先從selenium網站下載二進制文件,根據你的要求下載二進制文件:-

                  You need to download the binary first from selenium website, download binary according to your specifications:-

                  http://chromedriver.storage.googleapis.com/index.html?path=2.19/
                  

                  現在設置下面的代碼,這樣 selenium 腳本就會知道你的二進制文件的路徑

                  Now set below code so selenium script will know the path of your binary

                  System.setProperty("webdriver.chrome.driver","./src\lib\chromedriver.exe");
                  

                  所以代碼應該是這樣的:-

                  So the code should be like this:-

                  System.setProperty("webdriver.chrome.driver","./src\lib\chromedriver.exe");
                  ChromeOptions options= new ChromeOptions();
                  options.addArguments("--no-startup-window");
                  //I tried this line also: options.addArguments("--silent-launch");
                  DesiredCapabilities capabilities = DesiredCapabilities.chrome();
                  capabilities.setCapability(ChromeOptions.CAPABILITY, options);
                  WebDriver driver = new ChromeDriver(capabilities);
                  

                  希望對你有幫助:)

                  這篇關于Selenium - 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?)

                        1. <i id='7ORF5'><tr id='7ORF5'><dt id='7ORF5'><q id='7ORF5'><span id='7ORF5'><b id='7ORF5'><form id='7ORF5'><ins id='7ORF5'></ins><ul id='7ORF5'></ul><sub id='7ORF5'></sub></form><legend id='7ORF5'></legend><bdo id='7ORF5'><pre id='7ORF5'><center id='7ORF5'></center></pre></bdo></b><th id='7ORF5'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='7ORF5'><tfoot id='7ORF5'></tfoot><dl id='7ORF5'><fieldset id='7ORF5'></fieldset></dl></div>
                            <tbody id='7ORF5'></tbody>
                        2. <tfoot id='7ORF5'></tfoot>
                            <bdo id='7ORF5'></bdo><ul id='7ORF5'></ul>
                          • <small id='7ORF5'></small><noframes id='7ORF5'>

                            <legend id='7ORF5'><style id='7ORF5'><dir id='7ORF5'><q id='7ORF5'></q></dir></style></legend>
                            主站蜘蛛池模板: 国产成人福利在线 | 91 在线| 在线精品一区二区 | 久久99国产精品久久99果冻传媒 | 天堂素人约啪 | 日韩精品一区二区三区四区视频 | 久久综合香蕉 | 欧美成人在线免费 | 国产成人免费视频 | 四虎永久免费地址 | 特级毛片 | 成人av免费 | 亚洲在线一区二区 | 久久国产99 | 97在线观看 | 午夜成人在线视频 | 国产在线视频在线观看 | 亚洲精品电影在线观看 | 2018天天干天天操 | 精品国产乱码久久久久久牛牛 | 久久免费精彩视频 | 2020亚洲天堂 | 日日骚网 | 国产在线一级片 | 日韩中文字幕免费在线观看 | 国产精品国产馆在线真实露脸 | 国产精品91视频 | 青青草av网站 | 国产福利在线 | 亚洲午夜精品久久久久久app | 久久大陆| www天天操| 黄色大片网站 | 黑人精品 | 亚洲精品二区 | 国产一区二区三区在线免费观看 | 欧美精品第一区 | 欧美成视频在线观看 | 中文字幕在线免费观看 | 日韩三级电影在线看 | 欧美日韩久久久 |