Is it possible to run Selenium automation scripts with Safari Browser on a Windows machine?

0 votes
Can anyone tell whether it's possible to run Selenium automation scripts with Safari Browser on a Windows machine?
May 14 in Selenium by Lokesh
500 views

1 answer to this question.

0 votes

Hi Lokesh, it's not possible to run a Selenium automation script with Safari browser on windows machine as Selenium has following compatibility issues with Safari Browser:

  • Though Safari browser can be installed on Windows machine, Apple decided to discontinue Safari browser on Windows machines from the year 2012. So the last and final version of the Safari browser that can be used on the windows machines is Safari 5. Hence we can't use the latest browser of Safari on windows machines.

  • Selenium has also deprecated SafariDriver which can be used to run the Selenium Automation scripts on Safari browser. Instead of using SafariDriver for running Selenium scripts on Safari browser, Selenium has provided 'Selenium WebDriver' extension for Safari browser. Though Selenium has provided 'Selenium WebDriver' extension for Safari browser to run the Selenium Scripts on Safari browser, this 'Selenium WebDriver' will work only on the Safari Browsers having the browser version of 10 and above

  • So, in order to run the Selenium Automation scripts on the Safari browser, we have to use Safari 10+ browser version for installing 'Selenium WebDriver' Safari browser extension. And as the Safari 10+ browser version is no where supported by Windows machine and can only be installed on the machines having latest versions of Macintosh operating systems. Hence we can only run the Selenium Automation scripts on latest versions of Macintosh machines having Safari browser version of 10+.

  • Safari 10+ browser versions are available only for macOS Sierra. Hence in-order to run the Selenium Automation scripts, we need Safari 10+ browser, which can be installed on one and only Macintosh's macOS Sierra operating system. 

Hence, we need the below System configuration and plug-ins for running the Selenium Automation scripts on safari browser:

  • Safari 10+ Browser

  • Macintosh macOS Sierra Operating System

  • 'Selenium WebDriver' Safari browser extension

answered May 14 by Abha
• 27,180 points

Related Questions In Selenium

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Is it possible for a website to detect that we are using Selenium with ChromeDriver

Selenium tests for pre-defined javascript variables which ...READ MORE

answered Apr 27, 2018 in Selenium by Meci Matt
• 9,420 points
2,374 views
+1 vote
2 answers
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,110 points
993 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
1,144 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
888 views