问题描述
在OSX上:更新El Capitan后,我发现默认情况下安装了Safari 9.为了进行软件测试,我需要通过Safari 8(仍是优胜美地的最新版本)测试Web应用程序.我进行了搜索,但无法(希望使用浏览器堆栈)安装或模拟旧版本的Safari.
On OSX:After an update to El Capitan, I found that Safari 9 was installed by default.For software testing purposes, I need to test a web app through Safari 8 (which is still the latest version in Yosemite).I searched but there is no way (expect for browserstack) to install or emulate an older version of Safari.
除了降级为优胜美地以外,还有其他方法吗?
Other than downgrading to Yosemite, is there a way to do it?
推荐答案
可能最接近的方法是下载 WebKit之一与您所需的Safari版本匹配的每晚.
Probably the closest you could get is by downloading one of the WebKit nightlies that matches up with your desired Safari version.
Wikipedia的 Safari版本历史记录文章列出了每个Safari版本对应的WebKit版本.如果然后您在WebKit源文件中查找该版本的标签,则可以找到一个对应的版本修订号.最后,您可以使用 WebKit Nightly Archives 下载最近的夜间版本.
Wikipedia's Safari version history article lists the corresponding WebKit version for each Safari release. If you then look up the tag for that version in the WebKit source, you can find a corresponding revision number. Finally, you can use the WebKit Nightly Archives to download the closest nightly build.
Safari 8.0.7使用的WebKit版本为600.7.12,这似乎与WebKit版本r185729最接近.
Safari 8.0.7 used WebKit version 600.7.12, which seems to most closely correspond to WebKit build r185729.
我不知道您是否可以在一台机器上运行多个WebKit构建版本,但是除了Safari之外,您还可以运行至少一个较旧的版本作为目标.
I don't know if you can run more than one WebKit build on a machine, but you could run at least one older version to target, in addition to Safari.
这篇关于有没有一种方法可以安装/模拟旧版本的Safari? (即8)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!