C#硒chromedriver闪光灯

问题描述:

如何禁用使用Chrome 57版本的Flash? 我使用Chromedriver 2.28C#硒chromedriver闪光灯

我用自己的 “谷歌辣椒” 它的工作原理,如果我手动启用#喜欢-HTML-过闪光灯选项中的“Chrome尝试

options.AddArguments("--disable-bundled-ppapi-flash"); 
options.AddArguments("--disable-plugins-discovery"); 

但镀铬://flags“ image

但是我怎样才能使它与硒chromedriver?

这里是List of Chromium Command Line Switches。您可以尝试--disable-bundled-ppapi-flash(我没有试过),但有一群可与Flash命令。

祝你好运!!!

Mark +1如果此答案对您有用。