我刚刚将 ChromeDriver 更新到最新版本 - 2.36.在以前的版本中我设置了:
I just updated ChromeDriver to newest version - 2.36. In previous versions I've set:
ChromeOptions options = new ChromeOptions();
options.addArguments("disable-infobars");
并且没有显示Chrome 正在由自动测试软件控制"警告栏.使用相同的选项集,我一直看到它.你知道如何禁止它出现在最新的 ChromeDriver 中吗?提前致谢
and the "Chrome is being controlled by automated test software" warning bar wasn't displayed. With the same option set, I'm keep seeing it. Do you know how to disable this from appearing in the newest ChromeDriver? Thanks in advance
ChromeDriver 新版本已经发布 - 2.37.它再次支持:
New version of ChromeDriver has been released - 2.37. It again supports:
options.addArguments("disable-infobars");
这篇关于disable-infobars 参数无法隐藏带有消息“Chrome 正在由自动测试软件控制"的信息栏;与 ChromeDriver v2.36的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!