1. <i id='JYscO'><tr id='JYscO'><dt id='JYscO'><q id='JYscO'><span id='JYscO'><b id='JYscO'><form id='JYscO'><ins id='JYscO'></ins><ul id='JYscO'></ul><sub id='JYscO'></sub></form><legend id='JYscO'></legend><bdo id='JYscO'><pre id='JYscO'><center id='JYscO'></center></pre></bdo></b><th id='JYscO'></th></span></q></dt></tr></i><div id='JYscO'><tfoot id='JYscO'></tfoot><dl id='JYscO'><fieldset id='JYscO'></fieldset></dl></div>

      <tfoot id='JYscO'></tfoot>

        <legend id='JYscO'><style id='JYscO'><dir id='JYscO'><q id='JYscO'></q></dir></style></legend>
          <bdo id='JYscO'></bdo><ul id='JYscO'></ul>

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

        ChromeDriver - 在 Selenium WebDriver 自动化上弹出禁用开发者模式扩展

        ChromeDriver - Disable developer mode extensions pop up on Selenium WebDriver automation(ChromeDriver - 在 Selenium WebDriver 自动化上弹出禁用开发者模式扩展)

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

            <bdo id='XZm47'></bdo><ul id='XZm47'></ul>
            • <small id='XZm47'></small><noframes id='XZm47'>

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

                    <tbody id='XZm47'></tbody>
                  本文介绍了ChromeDriver - 在 Selenium WebDriver 自动化上弹出禁用开发者模式扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我遇到以下问题:当我运行自动化测试时,我在 Chrome 中不断收到以下警报禁用开发人员模式扩展".

                  I'm having the following issue: When I'm running my automation tests, I keep getting the following alert "Disable Developer Mode Extension" in Chrome.

                  有没有办法删除/禁用它?这对我来说是一个障碍,因为它让我无法通过一些测试.

                  Is there a way to remove/disable this?. It is a blocker for me as it is making me fail some tests.

                  提前致谢

                  推荐答案

                  您是否尝试使用命令行参数禁用开发者扩展?

                  Did you try disabling the developer extensions with command line param?

                  尝试使用以下 Selenium WebDriver java 代码:

                  Try with the following Selenium WebDriver java code:

                  System.setProperty("webdriver.chrome.driver", "D:\chromedriver.exe");
                  ChromeOptions options = new ChromeOptions();
                  options.addArguments("--disable-extensions");
                  driver = new ChromeDriver(options);
                  

                  这篇关于ChromeDriver - 在 Selenium WebDriver 自动化上弹出禁用开发者模式扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Lucene Porter Stemmer not public(Lucene Porter Stemmer 未公开)
                  How to index pdf, ppt, xl files in lucene (java based or python or php any of these is fine)?(如何在 lucene 中索引 pdf、ppt、xl 文件(基于 java 或 python 或 php 中的任何一个都可以)?)
                  KeywordAnalyzer and LowerCaseFilter/LowerCaseTokenizer(KeywordAnalyzer 和 LowerCaseFilter/LowerCaseTokenizer)
                  How to search between dates (Hibernate Search)?(如何在日期之间搜索(休眠搜索)?)
                  How to get positions from a document term vector in Lucene?(如何从 Lucene 中的文档术语向量中获取位置?)
                  Java Lucene 4.5 how to search by case insensitive(Java Lucene 4.5如何按不区分大小写进行搜索)
                  <tfoot id='8VUS7'></tfoot>
                    <tbody id='8VUS7'></tbody>

                      <bdo id='8VUS7'></bdo><ul id='8VUS7'></ul>

                      <small id='8VUS7'></small><noframes id='8VUS7'>

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

                          <legend id='8VUS7'><style id='8VUS7'><dir id='8VUS7'><q id='8VUS7'></q></dir></style></legend>