Skip to content

Commit

Permalink
refactor: set recording mode directly on created container
Browse files Browse the repository at this point in the history
  • Loading branch information
matrei committed Dec 23, 2024
1 parent b90ce08 commit b8b8f6e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ class WebDriverContainerHolder {
}

currentConfiguration = specConfiguration
currentContainer = new BrowserWebDriverContainer()
currentContainer = currentContainer.withRecordingMode(
currentContainer = new BrowserWebDriverContainer().withRecordingMode(
grailsGebSettings.recordingMode,
grailsGebSettings.recordingDirectory,
grailsGebSettings.recordingFormat
Expand Down

0 comments on commit b8b8f6e

Please sign in to comment.