Monday, 20 June 2016

Launching Safari browser using Selenium

Before automating the Safari Browser, ensure that you do below settings.

  1. Create Safari Extension developer certificate on Apple developer website.
  2. Install webdriver extension in Safari Browser. You can download webdriver extension http://selenium-release.storage.googleapis.com/index.html?path=2.48/
Below image shows the sample extension on the google site.




Below code will launch the Safari browser.

Webdriver driver = new SafariDriver();                
driver.get("http://www.softpost.org");


What do you think on above selenium topic. Please provide your inputs and comments. You can write to me at reply2sagar@gmail.com

No comments:

Post a Comment

Buy Best Selenium Books