detect_selenium_boot
Detect if directory is in a Selenium Boot project by locating selenium-boot.yml or io.github.seleniumboot in pom.xml/build.gradle. Run before Java code generation to pick selenium_boot framework.
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. |