运行 同一台机器上有多个 IEDriver 实例?

Run multiple IEDriver instances on the same machine?

我使用名为 parallel_tests 的 gem 来执行浏览器的多个实例以帮助 运行 自动化测试。在 Chrome 和 Firefox 中,它大大减少了执行时间。我向所有在单个盒子上托管 UI 测试的人推荐它。

在 IEDriver 中,我似乎无法执行此操作,因为我 运行 遇到 window 焦点问题。

有办法解决这个问题吗?谢谢

selenium wiki it's a known issue that is being considered but there really isn't a workaround other than using the remote driver and virtual machines each running their own instance of IE - https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver#multiple-instances-of-internetexplorerdriver

中所述