generate_page_object
Create Page Object Model classes for web automation testing. Generates code for Playwright or Selenium frameworks to structure test automation with reusable page elements.
Instructions
Generate a complete Page Object Model class for a webpage. Supports Playwright (TypeScript/JavaScript/Python) and Selenium (Java/Python/C#).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL of the webpage | |
| className | Yes | Name for the Page Object class (e.g., 'LoginPage', 'CheckoutPage') | |
| language | No | Programming language: typescript, javascript, python (Playwright) OR java-selenium, python-selenium, csharp-selenium (Selenium) |