LucySuslova / kirk

Kirk is a browser automation library for Kotlin. It's basically a Selenium-WebDriver wrapper library inspired by Selenide and Geb.

Home Page:http://automation-remarks.com/kirk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kirk - pragmatic UI test automation

Build Status codecov Maven Central

  • No Page Factory
  • No @FindBy
  • Pragmatic DSL
  • Informative error messages

Simple script example:

 @Test fun testCanLogin() {
        Browser.drive {
            to("http://localhost:8086")
            element("#inputEmail3").setVal("admin")
            element("#inputPassword3").setVal("admin")
            element("#parent > form > div:nth-child(3) > div > button").click()
            element("a.navbar-brand").should(have.text("Video service"))
        }
    }

DOCUMENTATION

Contributions:

  • Fork project
  • Create feature branch like feature/
  • Cover your feature with tests
  • Create pull request

Pull request tests should be green to be merged and docs be updated

About

Kirk is a browser automation library for Kotlin. It's basically a Selenium-WebDriver wrapper library inspired by Selenide and Geb.

http://automation-remarks.com/kirk/

License:Apache License 2.0


Languages

Language:Kotlin 93.9%Language:HTML 4.0%Language:Java 2.0%