


If you are trying to follow the old way to install any extensions, safari will throw error. You do not need to download anything besides Safari 10 or later to get the Apple-developed driver. Note: Python Selenium library provides support for Safari’s native driver implementation starting from 3.0.0 release.Īpple-developed driver is unrelated to the legacy SafariDriver mentioned, which is no longer maintained and should not be used, in the Selenium project. You can find Safari driver executable in /usr/bin/safaridriver folder path. New driver implementation is bundled in Safari and also it is maintained by the Web Developer Experience team at Apple. No need to pass safari driver executable path to create driver object – Selenium will automatically launch the driver without any further configuration.No need to download safari driver (You still need to download Safari 10 or latest version to get the Apple developed driver).Safari browser now, starting with Safari 10 on OS X El Capitan and macOS Sierra, provides native support for the WebDriver API.

Throughout this article we used Python Selenium WebDriver which is Selenium’s cross-platform, cross-browser automation API for Python programming language. In this article, we are going to experiment running tests in Safari browser (12.1.1) and also going to check necessary pre-requisites to enable Safari browser for automated test execution.
