Migrates a WebDriverIO test to Playwright syntax using AST transformation. Supports partial migrations and preserves already-migrated code. Uses modern Playwright locators (getByRole, getByLabel, getByTestId with data-test-id). Supports TypeScript output.
AI agents use migrate_to_playwright to create or update resources in MCP Server - Test Migration (WDIO to Playwright) — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your MCP Server - Test Migration (WDIO to Playwright) environment.
This tool modifies test files by transforming their syntax and structure (AST-based transformation), which is a Write operation. It does not execute tests (Execute), delete files (Destructive), or access financial systems (Financial).
From the tool's definition Tool description states it 'Migrates a WebDriverIO test to Playwright syntax' and 'refactor[s]' code, 'preserves already-migrated code', and 'Supports TypeScript output' — these are reversible code modifications that create or update test files without…
Attacks that exploit this kind of access
Migrates a WebDriverIO test to Playwright syntax using AST transformation. Supports partial migrations and preserves already-migrated code. Uses modern Playwright locators (getByRole, getByLabel, getByTestId with data-test-id). Supports TypeScript output. It is categorised as a Write tool in the MCP Server - Test Migration (WDIO to Playwright) MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the MCP Server - Test Migration (WDIO to Playwright) MCP server in PolicyLayer and add a rule for migrate_to_playwright: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches MCP Server - Test Migration (WDIO to Playwright). Nothing to install.
migrate_to_playwright is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the migrate_to_playwright rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for migrate_to_playwright. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
migrate_to_playwright is provided by the MCP Server - Test Migration (WDIO to Playwright) MCP server (lucad87/mcp-server-tests-migration). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →