Skip to content

Instantly share code, notes, and snippets.

@baseonmars
Created December 22, 2009 12:09
Show Gist options
  • Save baseonmars/261706 to your computer and use it in GitHub Desktop.
Save baseonmars/261706 to your computer and use it in GitHub Desktop.
$ svn co http://svn.openqa.org/svn/selenium-rc/trunk selenium-rc
$ cd selenium-rc
$ patch -p0 < snow-leopard.patch
$ mvn install
$ cp selenium-server.jar selenium-server.jar.bak #if it exists
$ cp selenium-server/target/selenium-server-1.0.2-SNAPSHOT-standalone.jar selenium-server.jar
taken from http://jira.openqa.org/browse/SRC-743#action_18980
see snow-leopard.patch for patch. This is obviously for selenium server v1, the dev's recommend try 2.0 alpha in the bug thread - I haven't tried this yet.
Index: server-coreless/src/main/java/org/openqa/selenium/server/browserlaunchers/SystemUtils.java
===================================================================
--- server-coreless/src/main/java/org/openqa/selenium/server/browserlaunchers/SystemUtils.java (revision 7242)
+++ server-coreless/src/main/java/org/openqa/selenium/server/browserlaunchers/SystemUtils.java (working copy)
@@ -14,7 +14,7 @@
return WindowsUtils.getExactPathEnvKey();
}
if (Os.isFamily("mac")) {
- return "DYLD_LIBRARY_PATH";
+ return "XXX_DYLD_LIBRARY_PATH";
}
// TODO other linux?
return "LD_LIBRARY_PATH";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment