I\'ve recently stumbled across geb and it looks like a good way to perform integration tests on our web applications. Our platforms are all java based and from reading that
The best alternative to Geb if you're using Java is IMHO Selenide (http://selenide.org)
example from Quick Start Guide:
@Test
public void userCanLoginByUsername() {
open("/login");
$(By.name("user.name")).setValue("johny");
$("#submit").click();
$(".loading_progress").should(disappear); // Waits until element disappears
$("#username").shouldHave(text("Hello, Johny!")); // Waits until element gets text
}
It's independent from your testing framework and therefore can be used with e.g. JUnit, TestNG, Cucumber, ScalaTest, JBehave