如何强制兼容性视图
How to force compatibility view
我安装了 IE 11,但我还需要 运行 在 IE 8、9 和 10 中进行一些测试。 运行测试时如何强制兼容模式。
仅供参考,我确实尝试过 F12,并将模式设置为 8。它手动工作,但不是通过 selenium。
谢谢!
我最近 运行 遇到了完全相同的问题。不幸的是,除非您更改页面源,否则没有办法。参见 this. However, I can tell you what I have done. I used VMS of course. Luckily, microsoft also provides trial versions of VMS with different versions of IE. visit this. After getting the VMs ready I installed NUNit Console。然后我简单地复制并加载了测试 dll
并且只是 运行。
我安装了 IE 11,但我还需要 运行 在 IE 8、9 和 10 中进行一些测试。 运行测试时如何强制兼容模式。 仅供参考,我确实尝试过 F12,并将模式设置为 8。它手动工作,但不是通过 selenium。 谢谢!
我最近 运行 遇到了完全相同的问题。不幸的是,除非您更改页面源,否则没有办法。参见 this. However, I can tell you what I have done. I used VMS of course. Luckily, microsoft also provides trial versions of VMS with different versions of IE. visit this. After getting the VMs ready I installed NUNit Console。然后我简单地复制并加载了测试 dll
并且只是 运行。