migrate

Convert Cypress or Selenium test files to Playwright syntax.

2|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/zhangzhang-111-i/claude-skills111 --skill migrate-zhangzhang-111-i
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate
Source: https://github.com/zhangzhang-111-i/claude-skills111/tree/main/engineering-team/playwright-pro/skills/migrate
Command: npx skills add https://github.com/zhangzhang-111-i/claude-skills111 --skill migrate-zhangzhang-111-i

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of migrating your existing test suites from Cypress or Selenium to Playwright, reducing manual effort and ensuring a smoother transition.

Core Features & Use Cases

  • Automated Test Conversion: Converts Cypress and Selenium test files to Playwright syntax.
  • Locator Strategy Guidance: Recommends and upgrades locators to Playwright's best practices.
  • Use Case: You have a large Cypress test suite and want to migrate to Playwright for its performance benefits. This skill will guide you through converting your existing tests file by file.

Quick Start

Use the migrate skill to convert your existing Cypress tests 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 automated test suites from Cypress or Selenium to Playwright?

Migrating automated test suites to Playwright involves converting Cypress or Selenium test files file-by-file to Playwright syntax, updating locator strategies to best practices, and ensuring cross-framework compatibility for a smooth transition.

Can I convert Cypress test files to Playwright syntax file by file?

Yes, you can convert Cypress test files to Playwright syntax file by file. The migration process provides specific conversion guidance and code translation for each test file to ensure a smooth transition.

Does migrating to Playwright update Selenium locator strategies automatically?

Migrating to Playwright provides locator strategy guidance, recommending and upgrading locators to Playwright's best practices during the test suite conversion to ensure robust and modern test infrastructure.

What is the best way to modernize e2e testing infrastructure from Selenium?

Modernizing e2e testing infrastructure from Selenium is best achieved by migrating to Playwright, which provides file-by-file code translation and locator upgrades to leverage advanced features and boost test efficiency.

Do I need prior Playwright experience to transition my Cypress test suite?

No prior Playwright experience is strictly required to transition your Cypress test suite, as the migration process provides step-by-step file conversion guidance and recommends locator best practices for the new framework.