It looks like the current wiki instructions for building SafariDriver extension
may still be too complicated a process for average users to build and install. This blog post kind of helps:
but in case one still has issues, I go one step further…
I’ve provided a shared repository for downloading packaged as well as compiled binaries of the extension so one can easily install or build the extension.
There is a section for compiled SafariDriver extensions that I’ve already built that you simply install. Use at your own risk if you don’t mind using an extension compiled with my personal Apple developer certificate (e.g. do you trust me?).
I also have another section for uncompiled but packaged version, where I’ve already extracted the SVN source for the given Selenium version and you simply need to extract the zip, then add & compile the extension using the Safari Extension Builder and your own Apple certificate, no need to SVN checkout nor run the go script to get/build source.
You no longer have to do this for SafariDriver versions 2.29 and above. It’s now bundled in with the server JAR (and Java bindings) so that it will auto-install and uninstall whenever you run a test, similar to the WebDriver extension for Firefox. There are also options to keep old behavior (assume you have extension already installed on Safari) or to specify using your own built extension to auto-install & uninstall instead of the default bundled in the JAR. See http://code.google.com/p/selenium/issues/detail?id=3772
FYI, you now need Apple Developer Program registration ($99/yr) in order to generate the SSL certificates needed to build SafariDriver from source. It used to be free with Safari Developer program. With that in mind, it also no longer makes sense to build SafariDriver on Windows anymore, since you typically are a Mac user if registering for the Apple developer program anyways.