detect_selenium_boot
Identifies Selenium Boot project configuration to set the appropriate code generation framework before generating Java code.
Instructions
Detect whether the current working directory is inside a Selenium Boot project (looks for selenium-boot.yml or the io.github.seleniumboot dependency in pom.xml / build.gradle, walking up parent directories). Call this BEFORE generating Java code: if it reports detected=true, generate with framework="selenium_boot" so the output uses the framework's accessibility-first locators and managed driver.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | No | Optional path to start detection from. Defaults to the server's working directory. |