Convert WebDriverIO test suites (`browser.*`, `$()`/`$$()` element queries, `waitForDisplayed`, WebdriverIO's shorthand selector prefixes like `~`, `android=`, `-ios predicate string:`) to and from Selenium, Playwright, Cypress, Appium, Cucumber, Eggplant (SenseTalk), OpenTest.AI, Testers.AI Recorder, and Testers.AI Dynamic. Handles WDIO Mocha/Jasmine/Cucumber specs, sync (v6) and async (v7+) APIs, mobile and desktop configurations, wdio.conf.js services, and shared hooks. Use whenever the user wants to migrate a WebDriverIO suite, port WDIO tests to another framework, or round-trip WDIO through OpenTest.AI. MANDATORY TRIGGERS — "convert WebDriverIO", "WebDriverIO to <target>", "WDIO to Playwright", "WDIO to Cypress", "wdio.conf.js", "migrate WDIO", any mention of WebDriverIO alongside any supported target.
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Convert WebDriverIO test suites (`browser.*`, `$()`/`$$()` element queries, `waitForDisplayed`, WebdriverIO's shorthand selector prefixes like `~`, `android=`, `-ios predicate string:`) to and from Selenium, Playwright, Cypress, Appium, Cucumber, Eggplant (SenseTalk), OpenTest.AI, Testers.AI Recorder, and Testers.AI Dynamic. Handles WDIO Mocha/Jasmine/Cucumber specs, sync (v6) and async (v7+) APIs, mobile and desktop configurations, wdio.conf.js services, and shared hooks. Use whenever the user wants to migrate a WebDriverIO suite, port WDIO tests to another framework, or round-trip WDIO through OpenTest.AI. MANDATORY TRIGGERS — "convert WebDriverIO", "WebDriverIO to <target>", "WDIO to Playwright", "WDIO to Cypress", "wdio.conf.js", "migrate WDIO", any mention of WebDriverIO alongside any supported target.
Converts WebDriverIO test suites to any supported target, and emits WebDriverIO from any source. Defers orchestration to open-testing-convert.
When to use
Trigger when:
The user references WebDriverIO, wdio.conf.js/wdio.conf.ts, browser.url(...), $(...)/$$(...), ~accessibilityId, android=new UiSelector(), -ios predicate string:..., or @wdio/cli.
The user uploads a spec file with describe/it/before/after plus await browser... or synchronous browser... calls.
package.json contains @wdio/* packages.
Mobile-flavour WDIO with capabilities: { platformName: "Android" }.
How to use
Read the master orchestrator first.../open-testing-convert/SKILL.md.
Determine runtime flavour. WDIO 6 (sync Fiber-based) vs WDIO 7+ (async/await). Forward-convert from sync to async as an intermediate step — all code targets use async; the sync flavour only survives when emitting WDIO 6 back.
Detect backend. Web (Chromedriver/Geckodriver) vs Mobile (Appium) vs Desktop (Winium, etc.). Mobile WDIO routes through the same extraction as raw Appium; web routes through Selenium-like extraction.
Read target primer for your target (same catalogue as Selenium/Playwright/Cypress skills).
Read this skill's reference files:
reference/source-profile.md — WDIO API surface, selector prefixes, config structure, services.