FluentLenium is a web & mobile automation framework which extends Selenium to write reliable and resilient UI functional tests. This framework is React ready. Written and maintained by people who are automating browser-based tests on a daily basis.
OTHER License
FluentLenium helps you writing readable, reusable, reliable and resilient UI functional tests for the browser and mobile app.
FluentLenium provides a Java fluent interface to Selenium, and brings some extra features to avoid common issues faced by Selenium users.
FluentLenium is shipped with adapters for JUnit4, JUnit5 , TestNG, Spock , Kotest , Spring TestNG and Cucumber, but it can also be used standalone.
FluentLenium best integrates with AssertJ, but you can also choose to use the assertion framework you want.
FluentLenium can be used to make your mobile Appium tests fluent and easier to maintain.
FluentLenium gives you multiple methods which help you write tests quicker. All those methods are tested daily by commercial regression test suites maintained by project developers.
Quickstart steps are described in deail in our separate documentation section.
public class DuckDuckGoTest extends FluentTest {
@Test
public void titleOfDuckDuckGoShouldContainSearchQueryName() {
goTo("https://duckduckgo.com");
$("#search_form_input_homepage").fill().with("FluentLenium");
$("#search_button_homepage").submit();
assertThat(window().title()).contains("FluentLenium");
}
}
More detailed FluentLenium examples are available
in examples section. Examples include headless
Chrome and Firefox, Spring-based framework supporting multiple browsers
and much more.
Detailed documentation is available on fluentlenium.io.
Javadoc is available on fluentlenium.io/javadoc.
To help you navigate through FluentLenium, here's a short summary about its modules and what support they provide.
FluentWebElement
, FluentList
and FluentPage
.If you have any comment, remark or issue, please open an issue on FluentLenium Issue Tracker