Skip to content

Instantly share code, notes, and snippets.

(env)(master) [15:49] humongous $lein deps
[INFO] snapshot org.buntin:compojure:0.4.0-SNAPSHOT: checking for updates from central
[INFO] snapshot org.buntin:compojure:0.4.0-SNAPSHOT: checking for updates from clojure
[INFO] snapshot org.buntin:compojure:0.4.0-SNAPSHOT: checking for updates from clojure-snapshots
[INFO] snapshot org.buntin:compojure:0.4.0-SNAPSHOT: checking for updates from clojars
Downloading: org/buntin/compojure/0.4.0-SNAPSHOT/compojure-0.4.0-20100215.165114-1.pom from clojars
Transferring 2K from clojars
Downloading: clout/clout/0.1/clout-0.1.pom from clojure
Downloading: clout/clout/0.1/clout-0.1.pom from clojure-snapshots
Downloading: clout/clout/0.1/clout-0.1.pom from clojars
#!/usr/bin/env python
import selenium, json
def main(argv=None):
import sys
from optparse import OptionParser
argv = argv or sys.argv
>>> import saucerc.controller.server as s
>>> s.get_last_version ()
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/home/miki/<ipython console> in <module>()
/home/miki/work/sauce-rc-private/sauce-rc-windows/saucerc/controller/server.py in get_last_version()
90 def get_last_version():
(import '[com.thoughtworks.selenium DefaultSelenium])
(defn- run-with-client
"Run a test function with new client"
[test-fn opts]
(let [client (new DefaultSelenium (:host opts) (:port opts) (:command opts)
(:url opts))]
(.start client)
(try
(test-fn client)
#include "stdafx.h"
#include <windows.h>
#include "webdriver.h"
#pragma comment (lib, "InternetExplorerDriver.lib")
#define CALL(func, error) \
if (func != SUCCESS) { \
fprintf(stderr, "error: %s\n", error); \
if (NULL != wd) { \
wdFreeDriver(wd); \