Thanks to visit codestin.com
Credit goes to github.com

Skip to content

attila-fazekas/kolibrium

kolibrium_logo.png

Kotlin library for Selenium tests

License Build CodeQL Maven Central KDoc Project status

Build simple and maintainable automation faster with Kolibrium.

Kolibrium is a declarative Kotlin library designed to reduce boilerplate code and find better abstractions to express Selenium tests in a compact way.

Quickly bring your test automation efforts to life with less code and easy-to-read APIs.

Kolibrium is divided into several subprojects (modules), each of which can be used either independently or in conjunction with others.

  • selenium: provides core WebDriver functionality including Page object base class, browserTest harness, element locator delegates, and extensible decorator framework
  • ksp: offers code generation with Kotlin Symbol Processing (KSP) for part of the Page Object classes
  • dsl: offers Domain-Specific Languages (DSLs) functions for creating, configuring, and interacting with driver instances

You can decide to go all-in on Kolibrium by opting for all three modules or choosing just one or two. For example, you could use the Selenium library in conjunction with DSL, or you could use Selenium with KSP.

Documentation

The documentation is available at https://kolibrium.dev.

Contributing

Please read CONTRIBUTING before submitting your pull requests.

Project status

This project serves as a playground to explore new ideas and push the boundaries of what can be done when Kotlin's language features and tools are combined with Selenium. Although it’s experimental, the goal is to make it production-ready under version 1.0.0 once the project's APIs and Kotlin's context parameters are stabilized.