Selenide skill
Skill Pyfagorass/bookofspells/skills/lambdatest/selenide-skill
Generates Selenide tests in Java. Concise UI testing framework built on Selenium with automatic waits and fluent API. Use when user mentions "Selenide", "$(selector)", "shouldBe(visible)", "Selenide Java". Triggers on: "Selenide", "$() selector", "shouldBe", "shouldHave", "Selenide test".From its SKILL.md
npx -y skills add Pyfagorass/bookofspells --skill selenide-skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
3.0 KB, 601 tokens by cl100k_base, as published. Nobody here has run it
Selenide Automation Skill
Core Patterns
Basic Test
import com.codeborne.selenide.*;
import static com.codeborne.selenide.Selenide.*;
import static com.codeborne.selenide.Condition.*;
import org.junit.jupiter.api.Test;
class LoginTest {
@Test
void loginWithValidCredentials() {
open("/login");
$("#email").setValue("[email protected]");
$("#password").setValue("password123");
$("button[type='submit']").click();
$(".dashboard").shouldBe(visible);
$(".welcome").shouldHave(text("Welcome"));
}
@Test
void loginShowsError() {
open("/login");
$("#email").setValue("[email protected]");
$("#password").setValue("wrong");
$("button[type='submit']").click();
$(".error").shouldBe(visible).shouldHave(text("Invalid"));
}
}
Selectors
$("css-selector") // CSS
$(byText("Login")) // Exact text
$(withText("Welc")) // Contains text
$(byId("email")) // By ID
$(byName("password")) // By name
$(byXpath("//button")) // XPath (avoid)
$("[data-testid='login-btn']") // data attribute (best)
// Collections
$$("li").shouldHave(size(5));
$$("li").first().shouldHave(text("Item 1"));
$$("li").filterBy(text("Active")).shouldHave(size(2));
Conditions
element.shouldBe(visible);
element.shouldBe(hidden);
element.shouldBe(enabled);
element.shouldBe(disabled);
element.shouldHave(text("expected"));
element.shouldHave(exactText("Exact Match"));
element.shouldHave(value("input value"));
element.shouldHave(attribute("href", "/link"));
element.shouldHave(cssClass("active"));
element.shouldNot(exist);
TestMu AI Cloud
Configuration.remote = "https://" + LT_USERNAME + ":" + LT_ACCESS_KEY
+ "@hub.lambdatest.com/wd/hub";
Configuration.browserCapabilities = new DesiredCapabilities();
Configuration.browserCapabilities.setCapability("browserName", "chrome");
Configuration.browserCapabilities.setCapability("LT:Options", Map.of(
"build", "Selenide Build", "name", "Login Test",
"platform", "Windows 11", "video", true
));
Setup: Maven com.codeborne:selenide:7.0.0
Run: mvn test (auto-downloads browser driver)
For TestMu AI cloud execution, see reference/cloud-integration.md and shared/testmu-cloud-reference.md.
Deep Patterns
For advanced patterns, debugging guides, CI/CD integration, and best practices,
see reference/playbook.md.
What ships with it: 3 files
25.6 KB alongside SKILL.md
reference/
- advanced-patterns.md3.1 KB
- cloud-integration.md716 B
- playbook.md21.8 KB