I know how to run test script in chrome and firefox. Please help me how to run my Selenium WebDriver java/testNG script in windows safari browser.
Setting up Selenium tests to run on Safari browser is a fairly complex process. You need to install Safari Extensions Developer Certificate in your machine and also install selenium webdriver as an extension in Safari Browser.
Also there are some stability issues with Safari browser automation & Selenium combination on Mac 10.9 OS and below. The stability is much better on Mac Yosemite OSX & Safari 8.0.x combination along with Selenium v2.45.0
Detailed steps for the setup can be seen here
You need the
SafariDriver extension for your Safari browser and you have to set two system properties:
webdriver.safari.driver- Location of the Safari browser extension file
webdriver.safari.noinstall- Set to
true, if the extension already installed; else