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".
DeepseekModel
官方收录技能
质量 优秀 · 78
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=lambdatest-agent-skills-selenide-skill-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name selenide-skill description 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". languages ["Java"] category e2e-testing license MIT metadata {"author":"TestMu AI","version":"1.0"} 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( "user@test.com" ); $( "#password" ).setValue( "password123" ); $( "button[type='submit']" ).click(); $( ".dashboard" ).shouldBe(visible); $( ".welcome" ).shouldHave(text( "Welcome" )); } @Test void loginShowsError () { open( "/login" ); $( "#email" ).setValue( "wrong@test.com" ); $( "#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 .
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |