generate_java_junit5
Generates a Java JUnit 5 test class from your recorded browser session, choosing TestFly or standalone Selenium with ChromeDriver setup/teardown.
Instructions
Generate a Java JUnit 5 test class from the current browser session. framework='testfly' (default) emits a TestFly test (extends BaseJUnit5Test, framework-managed driver, open(), accessibility-first locators and web-first assertThat assertions). framework='junit5' emits standalone raw Selenium with a ChromeDriver setUp/tearDown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| framework | No | Output flavor. Use 'testfly' (default) inside a TestFly project. | testfly |
| test_name | No | RecordedFlowTest | |
| package_name | No | com.tests.selenium |