Just to get started, I've set up a repository on github, and have written one quick and dirty test function.
It's not really useful, it's just a quick spot-check you can run at the REPL to make sure everything's set up right. Make sure salty is in your classpath, and then, at the REPL, type (salty.impl/test-with-google). You should see Firefox start up, open up the main Google page, search for "clojure", and then quit. The output in your REPL should be:
Original page title is Google Page title after searching is clojure - Google Search nil
More to come...
Check out clj-webdriver too: https://github.com/semperos/clj-webdriver
ReplyDeleteAh, I searched for clj-selenium but not clj-webdriver. Thanks for the link.
ReplyDelete