1 min readMar 12, 2019
You are right, the @Rule
generally works with Spock. However in this special case of using the Selenium Docker container, one might want the container to be initialized in the GebConfig.groovy
. Hence the solution described here.