Internet explorer Selenium InternetExplorerDriver,禁用闪存
有没有办法在selenium InternetExplorerDriver中禁用flashInternet explorer Selenium InternetExplorerDriver,禁用闪存,internet-explorer,selenium,Internet Explorer,Selenium,有没有办法在selenium InternetExplorerDriver中禁用flash 在windows internet选项中禁用此选项似乎不起作用。我正在寻找传递给InternetExplorerDriver构造函数的功能,但似乎没有。目前在InternetExplorerDriver中禁用flash的资源有限。一种方法是在Selenium测试中使用BrowserStack,并将noFlash功能传递到测试中 caps.setCapability("browserstack.ie.noF
在windows internet选项中禁用此选项似乎不起作用。我正在寻找传递给InternetExplorerDriver构造函数的功能,但似乎没有。目前在InternetExplorerDriver中禁用flash的资源有限。一种方法是在Selenium测试中使用BrowserStack,并将noFlash功能传递到测试中
caps.setCapability("browserstack.ie.noFlash", "true");
BrowserStack很容易设置并集成到测试中。如果您必须禁用flash来测试web自动化,我建议您在Internet Explorer中使用它。我们公司正是出于这个原因使用它的,而且效果很好。这是一个很好的解决方案,但我们没有browserstack的预算。