Michael Kutz
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.

--

--

Michael Kutz
Michael Kutz

Written by Michael Kutz

I've been a software engineer since 2009, worked in various agile projects & got a taste for quality assurance. Today I'm a quality engineer at REWE digital.

Responses (1)