testcontainers/testcontainers-spock

Can't set output directory for FLV recordings

blacky0x0 opened this issue · 2 comments

I use Selenium Webdriver:

    @Shared
    public BrowserWebDriverContainer chrome = new BrowserWebDriverContainer()
            .withDesiredCapabilities(DesiredCapabilities.chrome())
            .withRecordingMode(RECORD_ALL, new File("./build/"))

But the recording always appeared under ./.tmp-volume-1503438720097/screen.flv.
How I can change this behavior?

I think it would be useful to open this issue directly in testcontainers-java, since there is nothing spock specific in this implementation/problem.

Thanks! I've created #448.