migrate

Converts Cypress or Selenium test files to Playwright and updates locators.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/tapanshah/Claude-Skills --skill migrate-tapanshah
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate
Source: https://github.com/tapanshah/Claude-Skills/tree/main/engineering-team/playwright-pro/skills/migrate
Command: npx skills add https://github.com/tapanshah/Claude-Skills --skill migrate-tapanshah

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the complex and time-consuming process of migrating existing test suites from Cypress or Selenium to the more modern and performant Playwright framework.

Core Features & Use Cases

  • Automated Test Conversion: Converts Cypress and Selenium test files to Playwright syntax.
  • Framework Detection: Automatically identifies the source framework (Cypress, Selenium JS, Selenium Python).
  • Locator Strategy Upgrade: Recommends and applies Playwright's best practices for locators.
  • Use Case: You have a large suite of Cypress tests and want to migrate to Playwright to leverage its features like auto-waits and cross-browser support. This skill will guide you through the conversion process file by file.

Quick Start

Use the migrate skill to convert your existing Cypress test suite to Playwright.

Frequently Asked Questions about migrate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Cypress tests to Playwright?

Migrate Cypress tests to Playwright by automatically converting test files and updating locators to Playwright syntax. The skill detects your source framework and provides step-by-step guidance for file conversion and verification.

Can I convert Selenium Python test suites to Playwright?

Yes, you can convert Selenium Python test suites to Playwright. The skill automatically detects source frameworks including Cypress, Selenium JS, and Selenium Python, then converts the test files and updates locators accordingly.

What is the best way to switch from Selenium to Playwright for e2e testing?

The best way to switch from Selenium to Playwright is through automated test suite migration. This skill converts test files, upgrades locator strategies to Playwright best practices, and guides you through verifying each converted file.

Does the migration process update Selenium locators to Playwright syntax?

Yes, the migration process updates Selenium locators to Playwright syntax. The skill recommends and applies Playwright's best practices for locators during the file conversion to ensure your tests use modern selector strategies.

How does automated test migration handle framework detection?

Automated test migration handles framework detection by identifying whether your source tests are written in Cypress, Selenium JS, or Selenium Python. This detection allows the skill to apply the correct conversion rules for each specific framework.

Can I migrate a large Cypress test suite file by file to Playwright?

Yes, you can migrate a large Cypress test suite file by file to Playwright. The skill guides you through the conversion process incrementally, allowing you to verify each file's migration before moving to the next.