Class BrowserlessBuildConfigurator

java.lang.Object
com.vaadin.copilot.testrecordergenerator.browserless.BrowserlessBuildConfigurator

public final class BrowserlessBuildConfigurator extends Object
Adds the Browserless test dependencies to a Maven or Gradle (Groovy) build.

Dependencies are added in test scope without a version, which requires that the version is managed by a BOM (the Vaadin BOM manages the Browserless artifacts, Spring Boot manages its own test dependencies). When no BOM can be found the dependency is not added and a warning is returned instead of guessing a version.

Browserless tests run with Surefire / the Gradle test task, so no Failsafe configuration or application start/stop is added. All operations are idempotent.