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, 2019 in Selenium by Lokesh
8,590 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, 2019 by Abha
• 28,140 points
Just to confirm that Safari WebDriver extension is no longer supported and the driver is by default shipped with the Mac OS.

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 28, 2018 in Selenium by Meci Matt
• 9,460 points
6,068 views
+1 vote
2 answers

Is it possible to scroll down in a webpage using selenium webdriver programmed on python?

I using next code for facebook for ...READ MORE

answered May 16, 2019 in Selenium by mslavikas@gmail.com
26,004 views
0 votes
2 answers

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,500 points
13,458 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,019 views
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,910 points
7,134 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,810 views
0 votes
2 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP