How to run Selenium Tests written in C# on a Safari browser in the same Windows 10 laptop?
I have written bunch of Selenium tests using C# over .Net/Windows 10 laptop. I want to run these tests on safari browser in the same Windows 10 laptop. I am wondering how do i do that since Safari for windows is no longer available from Apple
Is it possible to
Find a Docker container which can run Safari browser ?
Install a virtual machine of some sort that will run iOS and therefore will have a Safari browser. Then I setup a Selenium Grid hub on that VM and hit the grid from windows maching using C#/Selenium scripts. But I am not sure how to do this
Please advise. Some hints will be useful.
Apple's support for Safari on Windows stopped at 5.1 version, which means the latest safari you can install on Windows in Safari 5.1.
Second - no docker images for Safari -
Third, you can create a Machintosh VM on your PC
here is the link for Catalina
here is the link for Mojave
if you add one of those on your machine you also need to enable Safari automation
- Open Safari
- Go to Safari > Preferences
- Go to Advanced and in the bottom, there is an option "Show Develop menu in menu bar"
- Check that option
- Go to Develop
- Check on "Allow Remote Automation"
- Close/Quit the browser
After that, you can run the selenium node script on mac in order to connect it from the grid. And you can also use as a grid the docker-selenium