Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Oct 9th, 2011  |  syntax: None  |  size: 0.28 KB  |  hits: 30  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. (defn new-selenium
  2. ;       (DefaultSelenium. "localhost" 4444 "Firefox" "http://www.google.com"))
  3.    (let [client (new DefaultSelenium (:host 'localhost) (:port '4444) (:command '*firefox)
  4.                     (:url 'http://wwww.google.com))]
  5.    (.start client)
  6.    (.stop client)))
  7.