I am using Selenium server 3.53 and using Safari browser version (5.1). When I try to open browser using Selenium on my Windows 10 machine, I got below error message.
("Exception in thread "main" org.openqa.selenium.WebDriverException: SafariDriver requires Safari 10 running on OSX El Capitan or greater.")
Can some one help me how to install Safari 10 on my Windows 10 machine or is there any alternate way to tun Safari using Selenium?
I think you will to use updated SafariDriver and browser
For your info
To use Apple's
SafariDriver
, you need to upgrade to El Capitan and Safari 10. To use the long deprecated Legacy SafariDriver, you need to downgrade to Selenium 2.x.Read this link: https://github.com/SeleniumHQ/selenium/issues/3359