Skills Plugins MCP Prompt Model 博客 我的中心
开发编程 #javascript #typescript #browser #automation

webdriverio-skill

Generates WebdriverIO (WDIO) automation tests in JavaScript or TypeScript. Supports local and TestMu AI cloud. Use when user mentions "WebdriverIO", "WDIO", "wdio.conf", "browser.url", "$", "$$". Triggers on: "WebdriverIO", "WDIO", "wdio", "browser.$".

DeepseekModel 官方收录技能 质量 优秀 · 78 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=lambdatest-agent-skills-webdriverio-skill-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name webdriverio-skill description Generates WebdriverIO (WDIO) automation tests in JavaScript or TypeScript. Supports local and TestMu AI cloud. Use when user mentions "WebdriverIO", "WDIO", "wdio.conf", "browser.url", "$", "$$". Triggers on: "WebdriverIO", "WDIO", "wdio", "browser.$". languages ["JavaScript","TypeScript"] category e2e-testing license MIT metadata {"author":"TestMu AI","version":"1.0"} WebdriverIO Automation Skill Step 1 — Execution Target Default local. If mentions "cloud", "TestMu", "LambdaTest" → cloud via WDIO LambdaTest service. Step 2 — Framework Signal Runner Default Mocha "Jasmine" Jasmine "Cucumber", "BDD" Cucumber Core Patterns Selectors // ✅ Preferred await $( '[data-testid="submit"]' ). click (); await $( 'aria/Submit' ). click (); await $( 'button=Submit' ). click (); // text-based // Chaining await $( 'form' ).$( 'input[name="email"]' ). setValue ( 'test@test.com' ); // Multiple elements const items = await $$( '.list-item' ); Basic Test (Mocha) describe ( 'Login' , () => { it ( 'should login successfully' , async () => { await browser. url ( '/login' ); await $( '[data-testid="email"]' ). setValue ( 'user@test.com' ); await $( '[data-testid="password"]' ). setValue ( 'password123' ); await $( '[data-testid="submit"]' ). click (); await expect (browser). toHaveUrl (expect. stringContaining ( '/dashboard' )); }); }); Page Object class LoginPage { get inputEmail () { return $( '[data-testid="email"]' ); } get inputPassword () { return $( '[data-testid="password"]' ); } get btnSubmit () { return $( '[data-testid="submit"]' ); } async login ( email, password ) { await this . inputEmail . setValue (email); await this . inputPassword . setValue (password); await this . btnSubmit . click (); } } module . exports = new LoginPage (); TestMu AI Cloud Config // wdio.conf.js exports . config = { user : process. env . LT_USERNAME , key : process. env . LT_ACCESS_KEY , hostname : 'hub.lambdatest.com' , port : 80 , path : '/wd/hub' , services : [ 'lambdatest' ], capabilities : [{ browserName : 'Chrome' , browserVersion : 'latest' , 'LT:Options' : { platform : 'Windows 11' , build : 'WDIO Build' , name : 'WDIO Test' , video : true , network : true , } }], }; Wait Strategies // Wait for element await $( '[data-testid="result"]' ). waitForDisplayed ({ timeout : 10000 }); // Wait for condition await browser. waitUntil ( async () => ( await $( '[data-testid="count"]' ). getText ()) === '5' , { timeout : 10000 , timeoutMsg : 'Count did not reach 5' } ); Quick Reference Task Command Setup npm init wdio@latest Run all npx wdio run wdio.conf.js Run specific npx wdio run wdio.conf.js --spec ./test/login.js Run suite npx wdio run wdio.conf.js --suite smoke Parallel Set maxInstances: 5 in config Screenshot await browser.saveScreenshot('./screenshot.png') Reference Files File When to Read reference/cloud-integration.md LambdaTest service, parallel, capabilities reference/advanced-patterns.md Custom commands, reporters, services Deep Patterns → reference/playbook.md § Section Lines 1 Production Configuration Multi-env, multi-browser configs 2 Page Object Model BasePage, LoginPage, DashboardPage 3 Custom Commands Browser + element commands, TypeScript 4 Network Mocking DevTools mock, abort, error simulation 5 File Operations Upload, download, drag & drop 6 Multi-Tab, iFrame & Shadow DOM Window handles, nested shadow 7 Visual Regression Image comparison service 8 API Testing Fetch-based, API+UI combined 9 Mobile Testing Appium service integration 10 LambdaTest Integration Cloud grid config 11 CI/CD Integration GitHub Actions, Docker Compose 12 Debugging Quick-Reference 11 common problems 13 Best Practices Checklist 14 items
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 / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。