I find myself wanting to write an integration test where I request an html page from an external provider, fill out a form, and submit it as part of of a larger authentication scenario. I can’t use raw clj-http or similar because the form has magic values within it, and I don’t believe I need a drive an actual e.g. Chrome browser instance. In my distant Java past I’ve used htmlunit for such needs; does anyone have something they’d recommend for this nowadays?
We use HTMLunit.
I see there’s this etaoin
project some folk seem to use
in Clojure there's also https://github.com/xeqi/kerodon. I haven't used it though.
I think etaoin is positioning itself as the replacement for clj-webdriver? We used the latter (up until last week when we retired the major app that we tested that way).
For anyone playing along at home, I used etaoin and am moderately pleased with the result.