Setup & Installation
What This Skill Does
Generates Geb browser automation tests in Groovy with Spock framework integration. It scaffolds page objects using Geb's jQuery-like content DSL and produces RemoteWebDriver configs for running tests on LambdaTest grids.
Geb's content DSL and page object conventions involve a lot of boilerplate, and this generates correct, runnable specs and configs instead of copying snippets from the docs.
When to use it
- Writing login and form flow tests with Geb page objects and Spock assertions
- Scaffolding GebConfig.groovy files for local and cloud test environments
- Building data-driven browser tests using Spock's @Unroll annotation
- Setting up RemoteWebDriver configs to run Geb specs on LambdaTest
- Creating reusable page object modules with Geb's content DSL