Does Kotlin supports Selenium Automation


#1

Hi Team,
I am beginner for Kotlin and as an Automation expert I just want to confirm that is Selenium automation tool is supported by Kotlin? If Not then which tool is used with Kotlin for automation testing?

Thank you in advance.


#2

You can use any Java-based tool with Kotlin. This includes Selenium.


#3

here is the DSL for Selenium 2.0.
Provide a possibility to write tests in Kotlin builder style


#4

Hi Vickyru

In past days I saw your question and I was given the task of making an article count detailing how to do tests automation with Kotlin and selenium:

Link: https://medium.com/@cbuelvasc/test-automation-in-kotlin-with-selenium-testng-and-page-object-model-e2252dbc492a

I hope it helps you


#5

Hi cbuelvasc,

Thanks for your link and and very use full & detailed explanation.


#6

You can use Balin
Balin is a browser automation library for Kotlin. It’s basically a Selenium-WebDriver wrapper library inspired by Geb.

useful link : https://github.com/EPadronU/balin