get_playwright_docs
Retrieve Playwright documentation for specific features to understand migration patterns when converting WebDriverIO tests to Playwright.
Instructions
Retrieves relevant Playwright documentation for specific features, commands, or concepts. Useful for understanding migration patterns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | The Playwright feature or concept to get documentation for (e.g., "selectors", "assertions", "fixtures", "page-object-model") |
Implementation Reference
- src/handlers/toolHandlers.js:151-161 (handler)The handler function that executes the 'get_playwright_docs' tool by invoking the `getPlaywrightDocs` utility.
export async function handleGetPlaywrightDocs(args) { const { topic } = args; const docs = getPlaywrightDocs(topic); return { content: [{ type: 'text', text: docs, }], }; }