Html and web driving tips with clojure?

I want to automate the filling of data on a website using clojure.

To do this, I want to request web page elements and create http requests. I considered using HttpUnit and contrib.clojure.zip-filter.xml. So far, no approach seems right.

Are there alternative libraries to help with this task?

thanks

+6
html-parsing clojure clojure-contrib
source share
1 answer

This seems to be the ideal use case for Enlive (described by Christophe Grand as โ€œร  la CSS) templating and transform system for Clojureโ€).

See How to select the nth element of a certain type in a call? The SO question - and my answer to it is a usage example. For more information, David Nolen there is an excellent tutorial .

+7
source share

All Articles