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

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

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

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

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

      如何禁用 Selenium 中的保存密碼彈出窗口?

      How can I disable save password popup in Selenium?(如何禁用 Selenium 中的保存密碼彈出窗口?)
      <legend id='Bwr86'><style id='Bwr86'><dir id='Bwr86'><q id='Bwr86'></q></dir></style></legend><tfoot id='Bwr86'></tfoot>
    2. <i id='Bwr86'><tr id='Bwr86'><dt id='Bwr86'><q id='Bwr86'><span id='Bwr86'><b id='Bwr86'><form id='Bwr86'><ins id='Bwr86'></ins><ul id='Bwr86'></ul><sub id='Bwr86'></sub></form><legend id='Bwr86'></legend><bdo id='Bwr86'><pre id='Bwr86'><center id='Bwr86'></center></pre></bdo></b><th id='Bwr86'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Bwr86'><tfoot id='Bwr86'></tfoot><dl id='Bwr86'><fieldset id='Bwr86'></fieldset></dl></div>

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

          • <bdo id='Bwr86'></bdo><ul id='Bwr86'></ul>
              <tbody id='Bwr86'></tbody>

                本文介紹了如何禁用 Selenium 中的保存密碼彈出窗口?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我正在為 Java 使用 Selenium 版本 3.141.59,我想在初始化 Chrome 和 Firefox 的驅動程序時禁用密碼彈出.

                I am using Selenium version 3.141.59 for Java and I would like to disable password popup while initializing the driver for Chrome and Firefox.

                我正在使用 Options 語法,因為 DesiredCapabilities 替代方案現已棄用.我的代碼看起來像這樣,但它不起作用:

                I am using the Options syntax since the DesiredCapabilities alternative is now deprecated. My code look like this, but it is not working:

                • 火狐
                FirefoxOptions options = new FirefoxOptions();
                options.addPreference("signon.rememberSignons", false);
                webDriver = new FirefoxDriver(options);
                

                • ChromeOptions chromeOptions = new ChromeOptions();
                  chromeOptions.setExperimentalOption("credentials_enable_service", false);
                  chromeOptions.setExperimentalOption("profile.password_manager_enabled", false);
                  webDriver = new ChromeDriver(chromeOptions);
                  

                  如何在創建驅動程序之前將該選項添加到選項對象?

                  How can I add that option to the options object before creating the driver?

                  推薦答案

                  下面是java代碼,對我有用.我將 selenium 3.3.1 與 selenium-chrome-driver 3.3.1 和 Java 8 一起使用.

                  Below are java code, which worked for me. I am using selenium 3.3.1 with selenium-chrome-driver 3.3.1 and Java 8.

                  ChromeOptions options = new ChromeOptions();
                  options.addArguments("--start-maximized");
                  options.addArguments("--disable-web-security");
                  options.addArguments("--no-proxy-server");
                  
                  Map<String, Object> prefs = new HashMap<String, Object>();
                  prefs.put("credentials_enable_service", false);
                  prefs.put("profile.password_manager_enabled", false);
                  
                  options.setExperimentalOption("prefs", prefs);
                  

                  這篇關于如何禁用 Selenium 中的保存密碼彈出窗口?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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?)

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

                  <tfoot id='WLVSr'></tfoot>
                    • <bdo id='WLVSr'></bdo><ul id='WLVSr'></ul>
                        <tbody id='WLVSr'></tbody>
                        • <small id='WLVSr'></small><noframes id='WLVSr'>

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

                          主站蜘蛛池模板: 久久久久国产 | 中文字幕一级毛片 | 国产欧美精品一区二区色综合朱莉 | 日韩影音 | 免费在线观看h片 | 午夜丰满寂寞少妇精品 | 91精品国产综合久久久动漫日韩 | 亚洲三级av | 国产69精品久久久久777 | 亚洲aⅴ精品 | av免费看在线 | 国产日韩欧美一区二区在线播放 | 在线黄 | 欧美美女爱爱 | 国产日韩一区二区三区 | 久久久久9999 | 国产精品中文 | 久久一区二区视频 | 日韩av成人在线观看 | av电影一区 | 一级片av | 国产精品一区二区在线播放 | 91麻豆精品国产91久久久久久 | 天天干天天插天天 | 亚洲欧美日韩精品久久亚洲区 | 国产一区二区三区四区在线观看 | 精品久久久久久亚洲精品 | 91视频国产区 | av一区二区三区在线观看 | av电影手机版| 免费观看成人鲁鲁鲁鲁鲁视频 | 手机在线观看 | 观看av| 欧美黄色一区 | 涩在线 | 波多野结衣中文字幕一区二区三区 | 久久在线 | 91高清在线 | 国产精品久久久久aaaa九色 | 欧美 日韩 国产 成人 在线 91 | 国产精品一区二区三区四区 |