
robot-to-playwright-converter
by Matthew King
Convert Robot Framework tests to idiomatic Playwright TypeScript with automated keyword and locator mapping.
- Convert BDD-style Robot tests while preserving natural language intent.
- Refactor Robot resource files into reusable Playwright Page Objects.
- Port hybrid API/UI test suites using Request and Page fixtures.
Free
One-time purchase
See it in action
A real example of what this skill takes in and produces.
Sample output
test('User can login', async ({ page }) => { // Given user is on login page await page.goto('/login'); // When user enters credentials await page.getByLabel('Username').fill('admin'); await page.getByRole('button', { name: 'Sign in' }).click(); // Then dashboard is visible await expect(page).toHaveURL(/.*dashboard/); });
Convert Robot Framework tests to idiomatic Playwright TypeScript with automated keyword and locator mapping.
Free
One-time purchase
Included in download
- Downloadable skill package
- 3 permissions declared
- Instant install
See it in action
A real example of what this skill takes in and produces.
Sample output
test('User can login', async ({ page }) => { // Given user is on login page await page.goto('/login'); // When user enters credentials await page.getByLabel('Username').fill('admin'); await page.getByRole('button', { name: 'Sign in' }).click(); // Then dashboard is visible await expect(page).toHaveURL(/.*dashboard/); });
About This Skill
Migrate from Robot Framework to Playwright with Intelligence
Moving a legacy test suite from Robot Framework to Playwright is a massive undertaking. This skill automates the heavy lifting by converting .robot files into idiomatic, high-quality Playwright TypeScript. It doesn't just swap syntax; it understands test intent, preserves BDD structures, and maps complex Robot keywords to web-first Playwright assertions.
What it does
- Converts Robot Framework test cases and keywords into modern Playwright specs.
- Intelligently handles
SeleniumLibrary,Browser Library, andRequestsLibrarymappings. - Detects and preserves original test styles, whether they are BDD (Given/When/Then) or procedural.
- Translates Robot's complex variable syntax and control flows (FOR, IF, WHILE) into clean TypeScript.
- Generates necessary scaffolding including
playwright.config.tsandpackage.jsonif missing.
Why developers use this skill
Unlike basic search-and-replace scripts, this skill acts like an experienced QA engineer. It prioritizes "web-first" assertions that reduce flakiness and automatically identifies opportunities for Page Object Models. It handles the nuances of the Playwright lifecycle, such as ensuring browser contexts are managed correctly in suite setups, preventing common migration pitfalls like SecurityError in teardowns.
Output format
The result is a set of compilable .spec.ts files. Any custom Python libraries or ambiguous locators that cannot be safely converted are automatically flagged with // TODO comments, allowing you to finalize the migration without losing context.
Use Cases
- Convert BDD-style Robot tests while preserving natural language intent.
- Refactor Robot resource files into reusable Playwright Page Objects.
- Port hybrid API/UI test suites using Request and Page fixtures.
- Migrate legacy Robot Framework suites to modern Playwright TypeScript.
How to Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/robot-to-playwright-converter | tar xz -C ~/.claude/skills/Free skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
Allowed Hosts
File Scopes
Creator
Frequently Asked Questions
Learn More About AI Agent Skills
More Premium Skills
designing-hybrid-context-layers
Architects the right retrieval strategy for every query — teaching your agent when to use RAG, a knowledge graph, or a temporal index instead of defaulting to vector search for everything.
consumer-motivation-analyzer
Go beyond surface-level feedback to uncover the psychological drivers and hidden motivations behind buyer behavior.
keyword-research
Transform URLs or product lists into SEO keyword research packs with Google Ads data and intent-based clustering.
Bounty Security Pattern Master Library — 399 Vulnerability Patterns
A premium library of 399 vulnerability patterns and DeFi attack vectors for AI-driven bug hunting and security audits.