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 t
I also searched for getting older Safari Versions and found a website which offers them for download.
They are too old for my Version of OSX so I was not able to test it - but maybe it works for someone.
http://www.oldapps.com/mac/de/safari.php
Probably the closest you could get is by downloading one of the WebKit nightlies that matches up with your desired Safari version.
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 used WebKit version 600.7.12, which seems to most closely correspond to WebKit build r185729.
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.
Following up on @robmathers's answer, the nightly builds are no longer listed publicly on webkit.org. However, they are still available in the S3 bucket storing them, which you can access via the AWS CLI.
Looking at the trac.webkit.org result, select a reasonable release version prefix for the build you're looking for (say 3 or 4 of the 6 digits), then use the following:
aws s3 ls minified-archives.webkit.org/mac-mojave-x86_64-release/2425 --no-sign-request
This will show you the available builds. You can then download via https://s3-us-west-2.amazonaws.com/minified-archives.webkit.org/mac-mojave-x86_64-release/<release_version>.zip
.