diff --git a/src/testFixtures/groovy/grails/plugin/geb/WebDriverContainerHolder.groovy b/src/testFixtures/groovy/grails/plugin/geb/WebDriverContainerHolder.groovy index 6ee8a01..de3d367 100644 --- a/src/testFixtures/groovy/grails/plugin/geb/WebDriverContainerHolder.groovy +++ b/src/testFixtures/groovy/grails/plugin/geb/WebDriverContainerHolder.groovy @@ -98,14 +98,11 @@ class WebDriverContainerHolder { } currentConfiguration = specConfiguration - currentContainer = new BrowserWebDriverContainer() - if (grailsGebSettings.recordingEnabled) { - currentContainer = currentContainer.withRecordingMode( - grailsGebSettings.recordingMode, - grailsGebSettings.recordingDirectory, - grailsGebSettings.recordingFormat - ) - } + currentContainer = new BrowserWebDriverContainer().withRecordingMode( + grailsGebSettings.recordingMode, + grailsGebSettings.recordingDirectory, + grailsGebSettings.recordingFormat + ) currentContainer.tap { withAccessToHost(true) start()