@NotNull
    @Override
    protected Set<Integer> getLivenessCheckPorts() {
        Integer seleniumPort = getMappedPort(SELENIUM_PORT);
        if (recordingMode == VncRecordingMode.SKIP) {
            return ImmutableSet.of(seleniumPort);
        } else {
            return ImmutableSet.of(seleniumPort, getMappedPort(VNC_PORT));
        }
    }
@deprecated Use withCapabilities(Capabilities capabilities) instead:
withCapabilities(new FirefoxOptions())

@param capabilities DesiredCapabilities
@return SELF
modules/selenium/src/main/java/org/testcontainers/containers/BrowserWebDriverContainer.java