SeKt
Pure kotlin async selenium/webdriver client
Install / Use
/learn @DarkWeird/SeKtREADME
SeKt
Pure kotlin async selenium/webdriver client
Status
Features:
- [ ] Page object support
- [x] Handling StaleReferenceException
- [x] Strict models (kotlinx.serialization)
- [ ] More sugar
- [ ] Support for DevTools
- [ ] Docs
Protocols:
- [x] W3C
- [ ] Appium
- [ ] SauceLab
- [x] BrowserStack
Http clients:
- [x] Ktor
Platforms (not multiplatform yet):
- [x] Jvm
- [ ] Js
- [ ] Native
Usage
val webdriver = webdriver(
"http://localhost:4444",
listOf(
w3cConverter()
)
)
val session = webdriver.session(
DefaultSessionCreator,
capabilities
{
browserName = "firefox"
platformName = "linux"
browserVersion = "92.0"
}) {
setUrl(PageUrl("http://google.com"))
findElement(xpath("//input[@name = 'q']")).sendKeys(Text("I want to found something"))
findElement(xpath("//input[@name = 'btnK']")).click()
//...
}
Contributing
- Fork
- Make changes
- Create PR
Related Skills
node-connect
336.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
336.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.0kCommit, push, and open a PR
