Building and installing SafariDriver more easily

9 Nov

It looks like the current wiki instructions for building SafariDriver extension

http://code.google.com/p/selenium/wiki/SafariDriver

may still be too complicated a process for average users to build and install. This blog post kind of helps:

http://rationaleemotions.wordpress.com/2012/05/25/working-with-safari-driver/

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.

Go here: https://docs.google.com/folder/d/0B5KGduKl6s6-ZGpPZlA0Rm03Nms/edit

Update 2/9/2013

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

Update 2015

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Seek Nuance

Python, technology, Seattle, careers, life, et cetera...

TELLURIUM

New Era of Test Automation

Der Flounder

Seldom updated, occasionally insightful.

The 4T - Trail, Tram, Trolley, Train

Exploring Portland with the 4T

Midnight Musings

Thoughts on making art

Automation Guide

The More You Learn The More You Play...!

The Performance Engineer

Code.Test.Tune.Optimize.

humblesoftwaredev

Thoughts related to software development

Yi Wang's Tech Notes

A blog ported from http://cxwangyi.blogspot.com

Appium Tutorial

Technical…..Practical…..Theoretically Interesting

LinuxMeerkat

I swear! Meerkats can do Linux

PacketsDropped

Requeuing the packets dropped in my memory.

Two cents of software value

Writing. Training. Consulting.

@akumar overflow

wisdom exceeding 140 chars.

Lazy Programmer's Shortcut

Java, J2EE, Spring, OOAD, DDD & LIFE! .......all in one :)

Testing Mobile Apps

www.SoftwareTestingStudio.com

%d bloggers like this: