Fluentlenuim
Jump to navigation
Jump to search
FluentLenium makes the writing of acceptance tests in a fluent way possible using the power of css selectors.
https://github.com/FluentLenium/FluentLenium
import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; public class BingTest extends FluentTest { @Test public void title_of_bing_should_contain_search_query_name() { goTo("http://www.bing.com"); fill("#sb_form_q").with("FluentLenium"); submit("#sb_form_go"); assertThat(title()).contains("FluentLenium"); } }