UI tests that just work. Written by you — or your AI agent.
Selenide is a concise Java library on top of Selenium WebDriver. It waits automatically, reads like plain English and explains every failure. With Selenide MCP and Selenide CLI, your AI agent writes these tests just as well as you do.
@Test
void userCanLogin() {
open("/login");
$("#username").setValue("johny");
$("#password").setValue("secret").pressEnter();
$(".welcome").shouldHave(text("Hello, Johny!"));
}
No waits. No driver setup. No Thread.sleep(). Just the test.
Trusted by QA teams at
Why Selenide
Less code. Fewer flaky tests. Faster debugging.
$("#submit").click();Reads like a user story
One line per user action. No WebDriver boilerplate, no PageFactory, no annotations. Tests the whole team can read and review.
.shouldBe(visible)Waits, so you don't have to
Every check retries until the condition holds or the timeout runs out. Forget Thread.sleep() and explicit waits, and most of your flaky tests go with them.
screenshot · page · videoFailures that explain themselves
A red test comes with a screenshot, the full page source, an optional video and an error message that says exactly what was expected and what was found.
open("https://...");Zero setup
Selenide starts the browser on first use and closes it when you're done. Chrome, Firefox, Edge or Safari, locally, in Docker or in the cloud.
AI & agents
Your AI agent already speaks Selenide.
Selenide's API is short, predictable and has been stable for 15 years, which is exactly the kind of code LLMs write well. Now we give your agent a real browser to work with:
- Selenide MCP The agent opens pages, clicks, types and checks results live, through the Model Context Protocol. Listed in the Official MCP Registry.
- Selenide CLI The same powers as plain shell commands. Cheaper on tokens, and it hands back ready-to-commit Java code.
Works with Claude Code, GitHub Copilot, Cursor, OpenAI Codex, Gemini CLI and any other MCP-compatible agent.
Give your agent a browser$ npm install -g @selenide/cli $ selenide install --skills $ claude > Write a login test for the-internet.herokuapp.com/login ● selenide open https://the-internet.herokuapp.com/login ● selenide setValue "#username" tomsmith ● selenide setValue "#password" "SuperSecretPassword!" ● selenide click "button[type=submit]" ● selenide should "#flash" text "You logged into a secure area!" ● selenide save src/test/java/LoginTest.java ✓ Test written and verified in a real browser.
Beyond the browser
One API for everything your UI touches.
Mobile
Test Android and iOS apps with the same $ API via selenide-appium.
Network
A built-in proxy intercepts requests, mocks responses and even listens to WebSockets.
Files
Reliable downloads and uploads, including in headless and remote browsers.
Clouds & grids
Selenium Grid, Selenoid, BrowserStack, TestMu AI. Switching takes one config line.
Evidence
Screenshots, full-page MHTML snapshots and video recordings of failed tests.
Java & Kotlin
JUnit, TestNG, Cucumber or whatever runner you already use. Nothing in your build changes.
What people say
Made possible by
Selenide is free and always will be. If it saves your team time, become a sponsor and help keep it that way.
Your first green test is five minutes away.
Add one dependency and write one line. That's all the setup there is.

