久久久久久久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 驅(qū)動程序無法在后臺啟動(沒有啟動

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

          <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 驅(qū)動程序無法在后臺啟動(沒有啟動窗口)的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

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

                  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網(wǎng)站下載二進制文件,根據(jù)你的要求下載二進制文件:-

                  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/
                  

                  現(xiàn)在設置下面的代碼,這樣 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);
                  

                  希望對你有幫助:)

                  這篇關(guān)于Selenium - chrome 驅(qū)動程序無法在后臺啟動(沒有啟動窗口)的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  How can I detect integer overflow on 32 bits int?(如何檢測 32 位 int 上的整數(shù)溢出?)
                  Local variables before return statements, does it matter?(return 語句之前的局部變量,這有關(guān)系嗎?)
                  How to convert Integer to int?(如何將整數(shù)轉(zhuǎn)換為整數(shù)?)
                  How do I create an int array with randomly shuffled numbers in a given range(如何在給定范圍內(nèi)創(chuàng)建一個隨機打亂數(shù)字的 int 數(shù)組)
                  Inconsistent behavior on java#39;s ==(java的行為不一致==)
                  Why is Java able to store 0xff000000 as an int?(為什么 Java 能夠?qū)?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>
                            主站蜘蛛池模板: 亚洲精品久久久蜜桃 | 久久成人一区二区三区 | 国产精品久久久久久婷婷天堂 | 一区二区三区久久久 | av在线电影网 | 亚洲精品视频在线 | 国产精品美女久久久免费 | 国产精品揄拍一区二区久久国内亚洲精 | 久久久av一区 | 免费一区二区三区在线视频 | 欧美日韩一二三区 | 91亚洲精| 午夜精品在线 | 亚洲色图插插插 | 精品99久久 | 久久av综合| 久久国内 | 亚洲一区二区三区四区五区中文 | 国产情侣在线看 | 久久九九99 | 国产精品一区二区在线播放 | 亚洲一区二区三区在线 | 一区二区不卡视频 | 亚洲免费在线观看 | 黄色免费网站在线看 | 中文字幕一区二区三区在线观看 | 欧美精品一二三 | 国产目拍亚洲精品99久久精品 | 日韩国产中文字幕 | 久久免费精品视频 | 精品久久精品 | 欧美日韩一区二区三区在线观看 | 国产一级片网站 | 日韩视频国产 | 在线观看av中文字幕 | 日韩视频精品 | 国产高清在线 | 欧美一级免费 | 精产国产伦理一二三区 | 久久成人一区 | 一区二区视频在线观看 |