
Test framework migration skill
Convert tests between Selenium, Playwright, Puppeteer and Cypress
Test framework migration skill is an open-source agent skill for browser automation. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 392
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Test framework migration skill
This skill migrates test automation scripts from one browser framework to another. The agent detects the source framework from the message or open files using signals such as driver.findElement, cy.get or page.getByRole, then detects the target, and asks when either is ambiguous.
It then detects the language, routes to the matching reference file, applies API mappings, lifecycle changes and pattern conversions, and ends with a validation workflow. Supported languages are Java, Python, JavaScript, TypeScript and C#. A summary lists the reference files for deeper patterns.
Conversions named include Selenium to Playwright and back, Puppeteer to Playwright and Cypress to Playwright.
When your agent uses it
Migrates and converts test automation scripts between Selenium, Playwright, Puppeteer, and Cypress. Use when the user asks to migrate, convert, or port tests from one framework to another; rewrite tests in a different framework; or switch from Selenium to Playwright, Playwright to Selenium, Puppeteer to Playwright, Cypress to Playwright, or vice versa. Triggers on: "migrate", "convert", "port", "selenium to playwright", "playwright to selenium", "puppeteer to playwright", "cypress to playwright", "rewrite tests in", "switch from [framework] to [framework]".
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 13 files (83 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/test-framework-migration-skill to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LambdaTest/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/test-framework-migration-skill &&
cp -R "$tmp/test-framework-migration-skill" ~/.claude/skills/test-framework-migration-skill &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/test-framework-migration-skill inside it instead.
Copy the skill folder to ~/.agents/skills/test-framework-migration-skill to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LambdaTest/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/test-framework-migration-skill &&
cp -R "$tmp/test-framework-migration-skill" ~/.agents/skills/test-framework-migration-skill &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/test-framework-migration-skill inside it instead.
Copy the skill folder to ~/.cursor/skills/test-framework-migration-skill to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LambdaTest/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/test-framework-migration-skill &&
cp -R "$tmp/test-framework-migration-skill" ~/.cursor/skills/test-framework-migration-skill &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/test-framework-migration-skill inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/LambdaTest/agent-skills.git --path test-framework-migration-skillOr copy the folder to ~/.gemini/skills/test-framework-migration-skill yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/test-framework-migration-skill:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LambdaTest/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/test-framework-migration-skill &&
cp -R "$tmp/test-framework-migration-skill" ~/.copilot/skills/test-framework-migration-skill &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/test-framework-migration-skill inside it instead.
Get the folder:
git clone --depth 1 https://github.com/LambdaTest/agent-skills.gitThen copy agent-skills/test-framework-migration-skill into your agent's skills folder as test-framework-migration-skill. Agents that support SKILL.md read one folder per skill.
What it does
- Source detection
- Identifies the current framework from keywords and code signals.
- Target detection
- Reads the desired framework from the request.
- Language detection
- Handles Java, Python, JavaScript, TypeScript and C#.
- Reference routing
- Chooses the mapping file for the framework pair.
- API and lifecycle mapping
- Applies command, setup and teardown conversions.
- Validation workflow
- Follows conversion with a verification pass.
Good for
- Port Selenium tests to Playwright
- Convert Cypress specs to Playwright
- Move Puppeteer scripts to Playwright
- Rewrite tests in another language or framework
Test framework migration skill FAQ
Which frameworks are covered?
Selenium, Playwright, Puppeteer and Cypress.
What if I do not say which framework I use?
It asks which framework your current tests are in.
Which languages work?
Java, Python, JavaScript, TypeScript and C#.
Does Test framework migration skill validate the result?
Yes, it includes a validation workflow after conversion.
How do I install Test framework migration skill in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/test-framework-migration-skill to use it in all your projects, or to .claude/skills/test-framework-migration-skill in one project.
Does Test framework migration skill run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Test framework migration skill?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Test framework migration skill?
The closest alternatives to Test framework migration skill are Playwright explore website, Firebase test lab migration skill, Pester migration, Dart migrate to checks package and Playwright interactive.
Where this comes from
- Description: from the skill's own SKILL.md.
More from LambdaTest/agent-skills

Write Postman pre-request and test scripts and embed them in collections
- Open source
- 392 GitHub stars
- Developer tools

Migrate Firebase Test Lab test automation to TestMu AI
- Open source
- 392 GitHub stars
- Cloud and infrastructure

Generate Flutter widget, integration and golden tests in Dart
- Open source
- 392 GitHub stars
- Developer tools

Adds WCAG accessibility scans to Selenium, Playwright and Cypress tests on TestMu AI
- Open source
- 392 GitHub stars
- Browser automation

Guides an agent in designing LLM tool definitions and MCP tool schemas for APIs
- Open source
- 392 GitHub stars
- AI models and LLM tooling

Checks an API request for method, URL, headers, body and auth errors
- Open source
- 392 GitHub stars
- Developer tools



