Get the installed Safari version using AppleScript or Objective C - objective-c

How can I check the installed safari version on Mac? I need to provide temporary fix for Safari as my app didn't work on safari 5.0.6 and 5.1. So how can I detect these 2 version of safari...
i can find its version using webkit but based on this site: http://en.wikipedia.org/wiki/Safari_version_history
Safari 5.0.6 has the similar webkit as the previos version...

You can do this even if Safari isn't running...
get version of application "Safari"

If Safari is running this AppleScript will get the version:
tell application "Safari"
set safariVersion to version
end tell

You can read the version out of /Applications/Safari.app/Contents/version.plist.

Related

How to enable Safari ITP Debug mode

I'd like to force Safari to mark one of my domains as tracker with new ITP 2.0.
I followed the guide here https://webkit.org/blog/8387/itp-debug-mode-in-safari-technology-preview-62/
Since the new Technology Preview version (66) doesn't have ITP Debug mode I've used normal Safari 12.0 on macOS Mojave. After enabling ITP Debug mode and restaring Safari I don't see anything in logs as the guide suggest nor does setting
defaults write com.apple.SafariTechnologyPreview ResourceLoadStatisticsManualPrevalentResource example.com
have any effect (even with Safari instead of SafariTechnologyPreview). Do I need to change any other Safari or OS settings?
I've managed to get Safari Technology Preview 63 download link (https://secure-appldnld.apple.com/STP/091-99601-20180815-01EC2FD2-85EB-11E8-AB5B-AEA972136C40/SafariTechnologyPreview.dmg) via InternetArchive, ITP Debug mode works there.
Thank you Jakob. That helped me. To clarify your link, that version is only for OSX Mojave. Build 62 for High Sierra is available here: https://secure-appldnld.apple.com/STP/091-95878-20180801-01EC2FD2-85EB-11E8-AB5B-AEA972136C40/SafariTechnologyPreview.dmg
On newer version of Safari Technology Preview, or inside Safari 13.1+, you should use these updated steps for enabling debug, because the labels have changed: https://webkit.org/blog/9521/intelligent-tracking-prevention-2-3/
It says Catalina, but they also work for Mojave.

How to active responsive design mode in safari 5.1.7 version

I have install windows 10 on my desktop with safari 5.1.7 version
I want to use responsive design mode on this version, is there any way to resolve it
Hope for reply, thanks in advance
You can not use this mode in safari for Windows.
Latest Safari version for Windows is 5.1.7.
Responsive design mode was added in Safari 9.0 version, see release notes.

Why Platform Version 9.2 is not displayed in Appium UI tool

I downloaded the appium dmg file in order to have the appiumm interface, but I'm wondering why the values 9.2 are not displayed in the Platform Version dropdown
Version 1.4.13 (Draco)
[
The dropdown box is editable. You can add whatever iOS version you'd like. Just keep in mind to have the appropriate version of Xcode installed and if necessary, to manually install that iOS simulator, also.

Where to download the latest Safari?

Does anyone know where on apple.com I can get the latest Safari? IE, Chrome, and Firefox all have "latest" version but I can not find a similar for Safari.
I would have guessed here, but no go.
http://support.apple.com/downloads/
You can't simply download Safari for OS X. You can get Safari updates that run on your installed OS X through the normal Apple Software Update or through the APP Store (I guess since 10.8).
Safari 6 is available for Mountain Lion and Lion only.
The latest version for PC is Safari 5.1.7. There's no version 6 available for PC. You can download it here: Safari 5.1.7 for Windows.
Safari for Windows is no longer developed. Since all links in existing answers are dead, or do not provide expected information.
I would like to provide a working link here -> SafariSetup

How to downgrade to Titanium SDK 1.5.1 from 1.6

I wanted to develop using Titanium 1.5.1. Now when I download Titanium I am having SDK 1.2. and when update to 1.6 which is the only option I get to update, I don't get 1.5.1 SDK.
How can I get SDK 1.5.1.?
open your titanium developer application and go to "edit" - here you can change the titanium sdk chosen for your project. no need to download the old one.
Follow the steps on the Appcelerator Continuous Builds site for obtaining and installing legacy builds.
http://wiki.appcelerator.org/display/guides/Continuous+Builds
Go to Help > Install new SDK and choose the version from the drop down by checking the lower combo button.Hope this will help you!.