generate_java_page_object
Generate Java Page Object classes and matching test files from recorded Selenium sessions. Supports TestNG and JUnit 5 frameworks.
Instructions
Generate a Java Page Object class + matching test class from the recorded session. Produces two files: a Page Object (locators + fluent action methods) and a Test class that uses it. Supports TestNG and JUnit 5.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_name | No | Name of the page class e.g. LoginPage. Auto-inferred from URL if omitted. | |
| package_name | No | com.tests.selenium | |
| framework | No | testng |